Skip to content
8.2 High

CVE-2026-9669 bz2.BZ2Decompressor objects could be reused after a decompression error

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 and versions

Product Affected versions Fixed in
CPython 3.15 3.15.0a1 → < 3.15.0b3 3.15.0b3
CPython 3.14 3.14.0 → < 3.14.6 3.14.6
CPython 3.13 3.13.0 → < 3.13.14 3.13.14
CPython 3.12 3.12.0 → < 3.12.14 3.12.14
CPython 3.11 3.11.0 → < 3.11.16 3.11.16
CPython 3.10 earliest → < 3.10.21 3.10.21

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE