logo

CVE-2025-2000 qiskit-terra

Package

Manager: pip
Name: qiskit-terra
Vulnerable Version: >=0.18.0 <=0.46.3

Severity

Level: Critical

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00161 pctl0.37502

Details

Qiskit allows arbitrary code execution decoding QPY format versions < 13 ### 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

Metadata

Created: 2025-03-14T19:56:14Z
Modified: 2025-05-02T21:58:50Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-6m2c-76ff-6vrf/GHSA-6m2c-76ff-6vrf.json
CWE IDs: ["CWE-502"]
Alternative ID: GHSA-6m2c-76ff-6vrf
Finding: F096
Auto approve: 1