Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. qiskit
  4. ›
  5. CVE-2025-2000

CVE-2025-2000: Qiskit allows arbitrary code execution decoding QPY format versions < 13

March 14, 2025 (updated May 2, 2025)

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.

References

  • github.com/Qiskit/qiskit
  • github.com/Qiskit/qiskit/security/advisories/GHSA-6m2c-76ff-6vrf
  • github.com/advisories/GHSA-6m2c-76ff-6vrf
  • nvd.nist.gov/vuln/detail/CVE-2025-2000
  • www.ibm.com/support/pages/node/7185949

Code Behaviors & Features

Detect and mitigate CVE-2025-2000 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0rc1 before 2.0.0rc2, version 2.0.0rc1, all versions before 1.4.2

Fixed versions

  • 1.4.2
  • 2.0.0rc2

Solution

Upgrade to versions 1.4.2, 2.0.0rc2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/qiskit/CVE-2025-2000.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:14 +0000.