Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-2000
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:51 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-2000
Complete source record
{
"id": "708ffe35daff37c22bc28bc2bd245fab1cf0e73396baaeba3d734af4eef25421",
"url": "https://osv.dev/vulnerability/CVE-2025-2000",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-2000",
"summary": "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.",
"evidence": "osv:CVE-2025-2000",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-2000",
"aliases": [
"CVE-2025-2000",
"GHSA-6m2c-76ff-6vrf",
"PYSEC-2026-510",
"PYSEC-2026-511"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qiskit/qiskit",
"type": "GIT",
"events": [
{
"introduced": "5ca967557b21828c0760763b7f0c5870e5f032d9"
},
{
"fixed": "3da3d5ad37dd0b255ab83582d43ff7ee33fa9edf"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ibm:qiskit:*:*:*:*:*:php:*:*",
"range": [
{
"introduced": "0.18.0"
},
{
"fixed": "1.4.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.4.1",
"1.4.0",
"1.3.0",
"1.3.0rc2",
"1.3.0rc1",
"1.3.0b1",
"1.1.0rc1",
"1.0.0rc1",
"1.0.0b1",
"0.45.0rc1",
"0.25.0rc1",
"0.24.0rc1",
"0.23.0rc1",
"0.22.0rc1",
"0.21.0rc1",
"0.20.0",
"0.19.0",
"0.18.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2000.json"
}
}
],
"modified": "2026-10-24T10:30:59.458173142Z",
"provider": "osv",
"references": [
"https://www.ibm.com/support/pages/node/7185949"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2025-2000",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439323,
"published_at": "2025-03-14T13:15:40.907+00:00"
}