Qiskit SDK is vulnerable when deserializing QPY Files and may overflow the available stack space.
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 | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Ibm | Qiskit Sdk |
|
Vendor Solution
Remediation/Fixes guidance: The issue is addressed in Qiskit versions v2.5.2. This version is patched to prevent the stack overflow by no longer evaluating the expression tree for ParameterExpression objects recursively. Product(s)Version(s) number and/or range Remediation/Fix/Instructions<Qiskit SDK - qiskit.qpy.load() function>v2.5.2 Upgrade to the patched versions: qiskit v2.5.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.296% probability within 30 days)
| Link | Providers |
|---|---|
| https://www.ibm.com/support/pages/node/7285932 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | IBM Qiskit SDK 2.1.0 through 2.5.1 could allow a local attacker to cause a denial of service due to improper handling of a specially crafted object during deserialization. A malicious QPY payload can trigger a segmentation fault, causing the application to crash when deserializing untrusted input. | Qiskit could allow a local attacker to cause a denial of service due to a stack overflow during deserialization of QPY payloads. A malicious QPY payload can trigger a segmentation fault, causing the application to crash when deserializing untrusted input. |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | IBM Qiskit SDK 2.1.0 through 2.5.1 could allow a local attacker to cause a denial of service due to improper handling of a specially crafted object during deserialization. A malicious QPY payload can trigger a segmentation fault, causing the application to crash when deserializing untrusted input. | |
| Title | Qiskit SDK is vulnerable when deserializing QPY Files and may overflow the available stack space. | |
| First Time appeared |
Ibm
Ibm qiskit Sdk |
|
| Weaknesses | CWE-502 | |
| CPEs | cpe:2.3:a:ibm:qiskit_sdk:2.1.0:*:*:*:*:*:*:* cpe:2.3:a:ibm:qiskit_sdk:2.5.1:*:*:*:*:*:*:* |
|
| Vendors & Products |
Ibm
Ibm qiskit Sdk |
|
| References |
| |
| Metrics |
cvssV3_1
|