CWE
502
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2025-2000: Qiskit SDK code execution

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 SoftwareAffected VersionHow 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

Remedy

Upgrade to Qiskit 1.4.2 or Qiskit 2.0.0, see: https://pypi.org/project/qiskit/ for the latest versions.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2025-2000?

    CVE-2025-2000 is classified as a medium severity vulnerability due to its potential for arbitrary code execution.

  • How do I fix CVE-2025-2000?

    To mitigate CVE-2025-2000, upgrade your Qiskit version to the latest stable release beyond 1.4.1.

  • Which Qiskit versions are affected by CVE-2025-2000?

    CVE-2025-2000 affects Qiskit versions between 0.18.0 and 1.4.1.

  • What type of attack does CVE-2025-2000 enable?

    CVE-2025-2000 enables attackers to execute arbitrary code through maliciously crafted QPY files.

  • Is privilege escalation required for exploiting CVE-2025-2000?

    No, CVE-2025-2000 can execute arbitrary code without needing privilege escalation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203