Back to CVE catalog
CVE-2025-2000

Arbitrary code execution via QPY deserialization in Qiskit

IBM Qiskit SDK

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

9.8Critical
Published:
Updated:
EPSS:
1.42%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:IBMQiskit SDKAffected versions:
≥ 0.18.0, ≤ 1.4.1
Vendor:ibmqiskitAffected versions:
≥ 0.18.0, < 1.4.2Show full version range for qiskit
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:Not specifiedqiskit-terra
Environments (1)
  • PyPI
Affected versions:
0.18.0Show full version range for qiskit-terra
0.18.10.18.20.18.30.19.00.19.10.19.20.20.00.20.10.20.20.21.00.21.0rc10.21.10.21.20.22.00.22.0rc10.22.10.22.20.22.30.22.40.23.00.23.0rc10.23.10.23.20.23.30.24.00.24.0rc10.24.10.24.20.25.00.25.0rc10.25.10.25.20.25.2.10.25.30.45.00.45.0rc10.45.10.45.20.45.30.46.00.46.10.46.20.46.3≥ 0.18.0, ≤ 0.46.3

1–3 of 3 · Page 1 of 1

CVSS scores and metrics3
ibm · CVE List / CNA (cna)Primary9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Secondary)9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA-6m2c-76ff-6vrf · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories11

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences