A AegiFlow
CRITICALCVSS 9.8EPSS 0.8%

CVE-2025-2000

Qiskit allows arbitrary code execution decoding QPY format versions < 13

Published
2025-03-14
Modified
2026-11-04
EPSS percentile
57%
Aliases
GHSA-6m2c-76ff-6vrf
Sources
github-advisory

Summary

### Impact A maliciously crafted QPY file can potentially execute arbitrary-code embedded in the payload without privilege escalation when deserializing QPY formats < 13. A python process calling Qiskit's `qiskit.qpy.load()` function could potentially execute any arbitrary Python code embedded in the correct place in the binary file as part of a specially constructed payload. ### Patches Fixed in Qiskit 1.4.2 and in Qiskit 2.0.0rc2

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIqiskit—1.4.2, 2.0.0rc2
PyPIqiskit-terra——

Remediation: Upgrade to 1.4.2 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.