PYSEC-2026-511

Vulnerability from pysec - Published: 2026-06-29 11:50 - Updated: 2026-07-01 20:23
VLAI
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

Impacted products
Name purl
qiskit-terra pkg:pypi/qiskit-terra

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "qiskit-terra",
        "purl": "pkg:pypi/qiskit-terra"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.18.0"
            },
            {
              "last_affected": "0.46.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.18.0",
        "0.18.1",
        "0.18.2",
        "0.18.3",
        "0.19.0",
        "0.19.1",
        "0.19.2",
        "0.20.0",
        "0.20.1",
        "0.20.2",
        "0.21.0",
        "0.21.0rc1",
        "0.21.1",
        "0.21.2",
        "0.22.0",
        "0.22.0rc1",
        "0.22.1",
        "0.22.2",
        "0.22.3",
        "0.22.4",
        "0.23.0",
        "0.23.0rc1",
        "0.23.1",
        "0.23.2",
        "0.23.3",
        "0.24.0",
        "0.24.0rc1",
        "0.24.1",
        "0.24.2",
        "0.25.0",
        "0.25.0rc1",
        "0.25.1",
        "0.25.2",
        "0.25.2.1",
        "0.25.3",
        "0.45.0",
        "0.45.0rc1",
        "0.45.1",
        "0.45.2",
        "0.45.3",
        "0.46.0",
        "0.46.1",
        "0.46.2",
        "0.46.3"
      ]
    }
  ],
  "aliases": [
    "CVE-2025-2000",
    "GHSA-6m2c-76ff-6vrf"
  ],
  "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": "PYSEC-2026-511",
  "modified": "2026-07-01T20:23:03.448348Z",
  "published": "2026-06-29T11:50:34.706122Z",
  "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"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/qiskit-terra"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-6m2c-76ff-6vrf"
    }
  ],
  "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"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…