CVE-2026-9669
bz2.BZ2Decompressor objects could be reused after a decompression error
Published: 2026-06-08 · Last updated: 2026-06-10
Severity and scoring
- CWE
- CWE-121
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-9669
- [Other]https://github.com/python/cpython/commit/157a5df8cb5d82b33f918a7489e72ce95ceb12b6
- [Other]https://github.com/python/cpython/commit/5755d0f083949ff3c5bf3a37e673e24e306b036e
- [Other]https://github.com/python/cpython/commit/619a12b2e545391dc436b3af79dda22337382a6f
- [Other]https://github.com/python/cpython/commit/d3ca26983dfbccdf609f24ff5877dc3118e4702d
- [Other]https://github.com/python/cpython/issues/150599
- [Other]https://github.com/python/cpython/pull/150600
- [Other]https://mail.python.org/archives/list/security-announce@python.org/thread/DBJZETMGUIFK7DVUWMOXHD3Z6IX2QPSX/
- [Other]http://www.openwall.com/lists/oss-security/2026/06/08/17
Related CVEs
Same CWE
- CVE-2026-10829 — A stack-based buffer overflow vulnerability has been found in the NPort W2150A-W4/W2250A-W4 Series version 1.5 and earlier
- CVE-2026-7273 — A stack-based buffer overflow vulnerability in the CGI program of Zyxel GS1900-48HPv2 firmware versions through 2.90(ABTQ.1)C0 could allo... (8.8 HIGH)
- CVE-2025-55660 — A stack overflow in the gf_opus_read_length function (media_tools/av_parsers.c) of GPAC MP4Box v2.4 allows attackers to cause a Denial of... (5.5 MEDIUM)
- CVE-2026-8356 — LibreOffice can import presentations in the legacy binary PPT format
- CVE-2026-12222 — A vulnerability was determined in Yealink SIP-T46U 108.86.0.118 (8.0 HIGH)