GHSA-6M2C-76FF-6VRF
Vulnerability from github – Published: 2025-03-14 19:56 – Updated: 2025-05-02 21:58
VLAI?
Summary
Qiskit allows arbitrary code execution decoding QPY format versions < 13
Details
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
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "qiskit-terra"
},
"ranges": [
{
"events": [
{
"introduced": "0.18.0"
},
{
"last_affected": "0.46.3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 1.4.1"
},
"package": {
"ecosystem": "PyPI",
"name": "qiskit"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "PyPI",
"name": "qiskit"
},
"ranges": [
{
"events": [
{
"introduced": "2.0.0rc1"
},
{
"fixed": "2.0.0rc2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.0rc1"
]
}
],
"aliases": [
"CVE-2025-2000"
],
"database_specific": {
"cwe_ids": [
"CWE-502"
],
"github_reviewed": true,
"github_reviewed_at": "2025-03-14T19:56:14Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "### Impact\n\nA maliciously crafted QPY file can potentially execute arbitrary-code embedded in the payload without privilege escalation when deserializing QPY formats \u003c 13. A python process calling Qiskit\u0027s `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.\n\n### Patches\n\nFixed in Qiskit 1.4.2 and in Qiskit 2.0.0rc2",
"id": "GHSA-6m2c-76ff-6vrf",
"modified": "2025-05-02T21:58:50Z",
"published": "2025-03-14T19:56:14Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/Qiskit/qiskit/security/advisories/GHSA-6m2c-76ff-6vrf"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-2000"
},
{
"type": "PACKAGE",
"url": "https://github.com/Qiskit/qiskit"
},
{
"type": "WEB",
"url": "https://www.ibm.com/support/pages/node/7185949"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Qiskit allows arbitrary code execution decoding QPY format versions \u003c 13"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…