KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from the CNA
EPSS
0.80%
percentile 58.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-14Published
2025-03-14Package advisory GHSA-6m2c-76ff-6vrf
2026-06-17Record last changed
2026-06-29Package advisory PYSEC-2026-510
2026-06-29Package advisory PYSEC-2026-511
2026-11-30EPSS when our history starts: 1.42%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-6m2c-76ff-6vrfqiskit-terra (PyPI)no fix yet
GHSA-6m2c-76ff-6vrfqiskit (PyPI)1.4.2
GHSA-6m2c-76ff-6vrfqiskit (PyPI)2.0.0rc2
PYSEC-2026-510qiskit (PyPI)1.4.2, 2.0.0rc2
PYSEC-2026-511qiskit-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

CVEPublishedCVSSSummary
CVE-2025-14032025-02-218.6Qiskit SDK denial of service
CVE-2026-181582026-12-039.6IBM Financial Transaction Manager (FTM) Deserialization
CVE-2026-181552026-12-039.6IBM Financial Transaction Manager (FTM) Deserialization
CVE-2026-842362026-11-199.8IBM Guardium Data Protection Deserialization of Untrusted Data
CVE-2026-1165002026-11-086.2Unbound Recursion in QPY deserialization can lead to denial of service
CVE-2026-1164992026-11-088.4Arbitrary Code Execution in Qiskit SDK QPY Deserialization
CVE-2026-108592026-11-048.8IBM MQ XMS .NET client is affected by an arbitrary code execution vulnerability
CVE-2026-1043242026-10-298.8Langflow 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.

NVD · CVE.org