# CVE-2026-9669: bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow

- Severity: High 8.2 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-06-08T22:01:15.420Z
- Modified: 2026-11-10T13:19:42.023Z
- Also known as: PSF-2026-27, BIT-LIBPYTHON-2026-9669, BIT-PYTHON-2026-9669, BIT-PYTHON-MIN-2026-9669
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## 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.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.6; from 3.15.0a1 before 3.15.0b3
- https://github.com/python/cpython: before 157a5df8cb5d82b33f918a7489e72ce95ceb12b6; before 5755d0f083949ff3c5bf3a37e673e24e306b036e; before 619a12b2e545391dc436b3af79dda22337382a6f; before d3ca26983dfbccdf609f24ff5877dc3118e4702d; before 938ec030e90c5e53f1faac6fab1643f14e4f4a79; before 991e6cf86496718c4ef00b362d640e00cb5c85b2; before 1ba6135eae75ad8413413caeeedb56ae72320636
- libpython (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.6
- python (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.6
- python-min (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.6

## Every score

- PSF: CVSS:4.0 8.2 High `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`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python/cpython/pull/150600> (patch, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/DBJZETMGUIFK7DVUWMOXHD3Z6IX2QPSX/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/issues/150599> (issue-tracking, report, web)
- <https://github.com/python/cpython/commit/157a5df8cb5d82b33f918a7489e72ce95ceb12b6> (fix, patch, web)
- <https://github.com/python/cpython/commit/5755d0f083949ff3c5bf3a37e673e24e306b036e> (fix, patch, web)
- <https://github.com/python/cpython/commit/619a12b2e545391dc436b3af79dda22337382a6f> (fix, patch, web)
- <https://github.com/python/cpython/commit/d3ca26983dfbccdf609f24ff5877dc3118e4702d> (fix, patch, web)
- <https://github.com/python/cpython/commit/938ec030e90c5e53f1faac6fab1643f14e4f4a79> (fix, patch, web)
- <https://github.com/python/cpython/commit/991e6cf86496718c4ef00b362d640e00cb5c85b2> (fix, patch, web)
- <https://github.com/python/cpython/commit/1ba6135eae75ad8413413caeeedb56ae72320636> (fix, patch, web)
- <http://www.openwall.com/lists/oss-security/2026/06/08/17> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-9669> (web)

## Sources

- CVE List: [CVE-2026-9669](https://www.cve.org/CVERecord?id=CVE-2026-9669), CVE Terms of Use, modified 2026-11-10
- Python Software Foundation: [PSF-2026-27](https://osv.dev/vulnerability/PSF-2026-27), CC-BY-4.0, modified 2026-08-11
- NVD: [CVE-2026-9669](https://nvd.nist.gov/vuln/detail/CVE-2026-9669), Public domain, modified 2026-11-10
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-9669](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-9669), Apache-2.0, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-9669](https://osv.dev/vulnerability/BIT-PYTHON-2026-9669), Apache-2.0, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-9669](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-9669), Apache-2.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-9669 · Whole record: https://cve.day/CVE-2026-9669.json · Rebuilt by cve.day 2026-11-25T22:59:24.029Z
