All reports
Critical

Qiskit allows arbitrary code execution decoding QPY format versions < 13

Affected versions

Version ranges need review.

Affected versions
>=0.18.0 <=0.46.3
Fixed version
Not reported
Affected versions
>= 0.18.0, <= 0.46.3
Fixed version
Not reported
Affected versions
= 2.0.0rc1
Fixed version
2.0.0rc2
Affected versions
<1.4.2 || >=2.0.0rc1 <2.0.0rc2
Fixed version
1.4.2 · 2.0.0rc2
Affected versions
<= 1.4.1
Fixed version
1.4.2

Exploitation

CVE-2025-2000

Probability of exploitation in the next 30 days: 0.81%

FIRST EPSS · 2026-11-19

Description

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

Links

Credits

  • jakelishman
  • mtreinish
  • ElePT