{"answers":{"affected":"8 open source packages ship an affected version, including qiskit and qiskit-terra. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-2000 in the wild and no public exploit code.","fix":"Upgrade qiskit to a fixed version for your release line: 1.4.2 or 2.0.0rc2.","what":"CVE-2025-2000 is a critical unsafe deserialization vulnerability in IBM Qiskit SDK, published on 14 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-2000 and fix it if it is affected.\n\nWhat it is: CVE-2025-2000 is a critical unsafe deserialization vulnerability in IBM Qiskit SDK, published on 14 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-2000 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- qiskit (PyPI): affected all versions; fixed in 1.4.2, 2.0.0rc2\n- qiskit (PyPI): affected all versions; fixed in 1.4.2\n- qiskit (PyPI): affected all versions; fixed in 1.4.2\n- qiskit (PyPI): affected from 2.0.0rc1; fixed in 2.0.0rc2\n- qiskit (PyPI): affected from 2.0.0rc1; fixed in 2.0.0rc2\n- qiskit-terra (PyPI): affected from 0.18.0 up to 0.46.3; no fix listed\n- qiskit-terra (PyPI): affected from 0.18.0 up to 0.46.3; no fix listed\n- qiskit-terra (PyPI): affected from 0.18.0 up to 0.46.3; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-2000/ (Markdown: https://insights.sbomify.com/CVE-2025-2000/index.md)","id":"CVE-2025-2000","markdown":"https://insights.sbomify.com/CVE-2025-2000/index.md","name":"CVE-2025-2000","record":{"aliases":["GHSA-6m2c-76ff-6vrf","PYSEC-2026-510","PYSEC-2026-511"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Qiskit SDK","requires_auth":"none","summary":"Attackers can execute arbitrary code by tricking users into loading maliciously crafted QPY files with the Qiskit SDK.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"qiskit","vendor":"ibm"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"A maliciously crafted QPY file can potential execute arbitrary-code embedded in the payload without privilege escalation when deserialising QPY formats \u003c 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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Qiskit SDK code execution","id":"CVE-2025-2000","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":8,"n_references":1,"next":{"headline":"Information disclosure in EcoStruxure Panel Server","id":"CVE-2025-2002"},"packages":[{"ecosystem":"PyPI","fixed":["1.4.2","2.0.0rc2"],"introduced":["0","2.0.0rc1"],"last_affected":[],"package":"qiskit","purl":"pkg:pypi/qiskit","source":"PYSEC-2026-510"},{"ecosystem":"PyPI","fixed":["1.4.2"],"introduced":["0"],"last_affected":[],"package":"qiskit","purl":null,"source":"GHSA-6m2c-76ff-6vrf"},{"ecosystem":"PyPI","fixed":["1.4.2"],"introduced":["0"],"last_affected":[],"package":"qiskit","purl":"pkg:pypi/qiskit","source":"GHSA-6m2c-76ff-6vrf"},{"ecosystem":"PyPI","fixed":["2.0.0rc2"],"introduced":["2.0.0rc1"],"last_affected":[],"package":"qiskit","purl":null,"source":"GHSA-6m2c-76ff-6vrf"},{"ecosystem":"PyPI","fixed":["2.0.0rc2"],"introduced":["2.0.0rc1"],"last_affected":[],"package":"qiskit","purl":"pkg:pypi/qiskit","source":"GHSA-6m2c-76ff-6vrf"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.18.0"],"last_affected":["0.46.3"],"package":"qiskit-terra","purl":null,"source":"GHSA-6m2c-76ff-6vrf"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.18.0"],"last_affected":["0.46.3"],"package":"qiskit-terra","purl":"pkg:pypi/qiskit-terra","source":"GHSA-6m2c-76ff-6vrf"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.18.0"],"last_affected":["0.46.3"],"package":"qiskit-terra","purl":"pkg:pypi/qiskit-terra","source":"PYSEC-2026-511"}],"prev":{"headline":"IBM UrbanCode Deploy (UCD) / IBM DevOps Deploy information disclosure","id":"CVE-2025-1998"},"products":["Qiskit SDK"],"published":"2025-03-14","related":[{"cvss_score":8.6,"headline":"Qiskit SDK denial of service","id":"CVE-2025-1403","kev_date_added":null,"published":"2025-02-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["IBM"]},"summary":"Attackers can execute arbitrary code by tricking users into loading maliciously crafted QPY files with the Qiskit SDK.","url":"https://insights.sbomify.com/CVE-2025-2000/"}