No advisories yet.
Solution
Remediation/Fixes guidance: The issue is addressed in Qiskit versions v1.4.6 and v2.4.2. These are patched to error with a Python-space RecursionError exception once the expression depth exceeds the Python recursion limit which can be queried with sys.getrecursionlimit(). This limit can be adjusted by calling sys.setrecursionlimit(). Future versions of Qiskit may remove this limit entirely with a non-recursive version of the OpenQASM 2 parser. Product(s)Version(s) number and/or range Remediation/Fix/Instructions<Qiskit SDK - qiskit.qasm2.loads() function>v1.4.6 and v2.4.2 Upgrade to the patched versions: qiskit v1.4.6 or qiskit v2.4.2. <Qiskit SDK - QuantumCircuit.from_qasm_str function>v1.4.6 and v2.4.2 Upgrade to the patched versions: qiskit v1.4.6 or qiskit v2.4.2. <Qiskit SDK - QuantumCircuit.from_qasm_str function>v1.4.6 and v2.4.2 Upgrade to the patched versions: qiskit v1.4.6 or qiskit v2.4.2.
Workaround
Workarounds/Mitigation guidance: None
| Link | Providers |
|---|---|
| https://www.ibm.com/support/pages/node/7276123 |
|
Fri, 12 Jun 2026 21:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | IBM Qiskit SDK 0.43.0 through 2.5.0 could allow an attacker to trigger a segmentation fault leading to a denial of service due to uncontrolled recursion in the parser. | |
| Title | Qiskit SDK is vulnerable to specific functions may recurse too deeply and overflow the available stack space, when encountering certain classical expressions. | |
| First Time appeared |
Ibm
Ibm qiskit Sdk |
|
| CPEs | cpe:2.3:a:ibm:qiskit_sdk:0.43.0:*:*:*:*:*:*:* cpe:2.3:a:ibm:qiskit_sdk:2.5.0:*:*:*:*:*:*:* |
|
| Vendors & Products |
Ibm
Ibm qiskit Sdk |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: ibm
Published:
Updated: 2026-06-12T20:52:58.528Z
Reserved: 2026-03-25T21:23:18.986Z
Link: CVE-2026-4870
No data.
Status : Received
Published: 2026-06-12T21:16:23.963
Modified: 2026-06-12T21:16:23.963
Link: CVE-2026-4870
No data.
OpenCVE Enrichment
No data.
No weakness.