Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-9669

bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.10.21affected
  • 3.11.0 to < 3.11.16affected
  • 3.12.0 to < 3.12.14affected
  • 3.13.0 to < 3.13.14affected
  • 3.14.0 to < 3.14.6affected
  • 3.15.0a1 to < 3.15.0b3affected

References