Qiskit SDK is vulnerable to specific functions may recurse too deeply and overflow the available stack space, when encountering certain classical expressions.
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| IBM | Qiskit SDK | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Ibm | Qiskit |
|
Vendor 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.
Vendor Workaround
Workarounds/Mitigation guidance: None
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.268% probability within 30 days)
| Link | Providers |
|---|---|
| https://www.ibm.com/support/pages/node/7276123 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Ibm qiskit Software Development Kit
|
|
| CPEs | cpe:2.3:a:ibm:qiskit_software_development_kit:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Ibm qiskit Software Development Kit
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Ibm qiskit
|
|
| Vendors & Products |
Ibm qiskit
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-674 |
| 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
|