Home / IBM / Qiskit SDK / CVE-2026-4870
CVE-2026-4870: is it exploited, and which versions of IBM Qiskit SDK are affected and fixed?
CVE-2026-4870 is an uncontrolled recursion vulnerability in IBM Qiskit SDK. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: Qiskit SDK from 0.43.0 through 2.5.0 (CVE record by ibm). Fixed in 1.4.6 and 2.4.2 (NVD). Severity: High (7.5, CVSS 3.1, from ibm).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-4870?
Qiskit SDK is vulnerable to specific functions may recurse too deeply and overflow the available stack space, when encountering certain classical expressions.
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.
From the CVE record by ibm, last updated June 15, 2026, 13:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| IBM | Qiskit SDK | from 0.43.0 through 2.5.0 |
As the CVE record by ibm states it, last updated June 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ibm | qiskit software development kit | from 0.43.0 before 1.4.6 | application |
| ibm | qiskit software development kit | from 2.0.0 before 2.4.2 | application |
NVD analysis (status Analyzed), last modified October 25, 2026, 23:10 UTC.
How severe is CVE-2026-4870?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | ibm |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-4870 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, June 15, 2026)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 20.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
How do I fix it? (from the CVE record)
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.
Is there a workaround? (from the CVE record)
Workarounds/Mitigation guidance: None
Where are the vendor advisories and references?
- https://www.ibm.com/support/pages/node/7276123 vendor-advisory, patch
Who found and reported it?
- This vulnerability was reported to IBM by Ali Sherif. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 25, 2026
- Published
- June 12, 2026, 20:52 UTC
- CVE record updated
- June 15, 2026, 13:37 UTC by ibm
- NVD
- Analyzed, last modified October 25, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Qiskit SDK?
- Nov 8, 2026CVE-2026-116501 IBM Qiskit SDK: out-of-bounds write (memory corruption)
- Nov 8, 2026CVE-2026-116500 IBM Qiskit SDK: deserialization of untrusted data
- Nov 8, 2026CVE-2026-116499 IBM Qiskit SDK: deserialization of untrusted data
- Sep 3, 2026CVE-2026-19795 IBM Qiskit SDK: deserialization of untrusted data
- Mar 14, 2025CVE-2025-2000 IBM Qiskit SDK: deserialization of untrusted data
- Feb 21, 2025CVE-2025-1403 IBM Qiskit SDK: deserialization of untrusted data
Questions about CVE-2026-4870
Is CVE-2026-4870 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of IBM Qiskit SDK are affected by CVE-2026-4870?
Qiskit SDK from 0.43.0 through 2.5.0, per the CVE record by ibm. The tables above give every range the sources list.
Which version fixes CVE-2026-4870?
1.4.6 and 2.4.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-4870?
High (7.5, CVSS 3.1, from ibm). The severity table above shows each score with its source.
Where is the official record of CVE-2026-4870?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.