First published: Fri Mar 14 2025(Updated: )
### Impact A maliciously crafted QPY file containing 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
Credit: psirt@us.ibm.com
Affected Software | Affected Version | How to fix |
---|---|---|
Qiskit | >=0.18.0<1.4.1 | |
Qiskit | <=Versions 0.18.0 - 1.4.1 | |
pip/qiskit | =2.0.0rc1 | 2.0.0rc2 |
pip/qiskit | <=1.4.1 | 1.4.2 |
pip/qiskit-terra | >=0.18.0<=0.46.3 |
Upgrade to Qiskit 1.4.2 or Qiskit 2.0.0, see: https://pypi.org/project/qiskit/ for the latest versions.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-2000 is classified as a medium severity vulnerability due to its potential for arbitrary code execution.
To mitigate CVE-2025-2000, upgrade your Qiskit version to the latest stable release beyond 1.4.1.
CVE-2025-2000 affects Qiskit versions between 0.18.0 and 1.4.1.
CVE-2025-2000 enables attackers to execute arbitrary code through maliciously crafted QPY files.
No, CVE-2025-2000 can execute arbitrary code without needing privilege escalation.