CVE-2025-2000 · ibm
Qiskit SDK code execution
A maliciously crafted QPY file can potential execute arbitrary-code embedded in the payload without privilege escalation when deserialising QPY formats < 13. A python process calling Qiskit 0.18.0 through 1.4.1's `qiskit.qpy.load()` function could potentially execute any arbitrary Python code embedded in the correct place in the binary file as part of specially constructed payload.
Published 2025-03-14, last changed 2026-06-17. Weakness: CWE-502.
How to fix
Upgrade to a fixed version: qiskit 1.4.2, 2.0.0rc2 (PyPI) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in qiskit/qiskit by 3da3d5ad37. Functions changed by the fix: __str__, __eq__, pi_check, _read_calibrations, read_circuit, ParseSympyWalker, __init__, visit_UnaryOp, visit_Constant, visit_Call, parse_sympy_repr, _loads_symbolic_expr. Regression tests: test/python/circuit/test_circuit_load_from_qpy.py, test/python/qpy/test_block_load_from_qpy.py, test/python/qpy/test_circuit_load_from_qpy.py, test/qpy_compat/test_qpy.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2025-03-14 | Published |
| 2025-03-14 | Package advisory GHSA-6m2c-76ff-6vrf |
| 2026-06-17 | Record last changed |
| 2026-06-29 | Package advisory PYSEC-2026-510 |
| 2026-06-29 | Package advisory PYSEC-2026-511 |
| 2026-11-30 | EPSS when our history starts: 1.42% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-6m2c-76ff-6vrf | qiskit-terra (PyPI) | no fix yet |
| GHSA-6m2c-76ff-6vrf | qiskit (PyPI) | 1.4.2 |
| GHSA-6m2c-76ff-6vrf | qiskit (PyPI) | 2.0.0rc2 |
| PYSEC-2026-510 | qiskit (PyPI) | 1.4.2, 2.0.0rc2 |
| PYSEC-2026-511 | qiskit-terra (PyPI) | no fix yet |
Also known as: GHSA-6m2c-76ff-6vrf, PYSEC-2026-510, PYSEC-2026-511
Credited: Matthew Treinish and Jake Lishman (finder)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-1403 | 2025-02-21 | 8.6 | Qiskit SDK denial of service |
| CVE-2026-18158 | 2026-12-03 | 9.6 | IBM Financial Transaction Manager (FTM) Deserialization |
| CVE-2026-18155 | 2026-12-03 | 9.6 | IBM Financial Transaction Manager (FTM) Deserialization |
| CVE-2026-84236 | 2026-11-19 | 9.8 | IBM Guardium Data Protection Deserialization of Untrusted Data |
| CVE-2026-116500 | 2026-11-08 | 6.2 | Unbound Recursion in QPY deserialization can lead to denial of service |
| CVE-2026-116499 | 2026-11-08 | 8.4 | Arbitrary Code Execution in Qiskit SDK QPY Deserialization |
| CVE-2026-10859 | 2026-11-04 | 8.8 | IBM MQ XMS .NET client is affected by an arbitrary code execution vulnerability |
| CVE-2026-104324 | 2026-10-29 | 8.8 | Langflow OSS is affected by multiple vulnerabilities |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2025-2000, or call /api/v1/vulnerabilities/CVE-2025-2000. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.