{
  "id": "CVE-2026-9669",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-9669",
  "published_at": "2026-06-08T22:01:15.42Z",
  "title": "bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow",
  "vendor": "Python Software Foundation",
  "product": "CPython",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "bz2.BZ2Decompressor objects could be reused after a decompression error. If an application caught the resulting OSError and retried with the same decompressor, crafted input could cause the decompressor to resume from an invalid internal state and perform out-of-bounds writes to a stack buffer. This could crash the process when processing untrusted data.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Python Software Foundation",
        "product": "CPython",
        "ranges": [
          "\u003c 3.10.21",
          "\u003e= 3.11.0, \u003c 3.11.16",
          "\u003e= 3.12.0, \u003c 3.12.14",
          "\u003e= 3.13.0, \u003c 3.13.14",
          "\u003e= 3.14.0, \u003c 3.14.6",
          "\u003e= 3.15.0a1, \u003c 3.15.0b3"
        ],
        "fixed_in": [
          "3.10.21",
          "3.11.16",
          "3.12.14",
          "3.13.14",
          "3.14.6",
          "3.15.0b3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CPython to 3.10.21 or 3.11.16 or 3.12.14 or 3.13.14 or 3.14.6 or 3.15.0b3 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/pull/150600"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/DBJZETMGUIFK7DVUWMOXHD3Z6IX2QPSX/"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/157a5df8cb5d82b33f918a7489e72ce95ceb12b6"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/5755d0f083949ff3c5bf3a37e673e24e306b036e"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/619a12b2e545391dc436b3af79dda22337382a6f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/d3ca26983dfbccdf609f24ff5877dc3118e4702d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/938ec030e90c5e53f1faac6fab1643f14e4f4a79"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/991e6cf86496718c4ef00b362d640e00cb5c85b2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
