CVE-2026-9669

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

HIGH
8.2
CVSS Score
Published: June 8, 2026 at 10:01 PM UTC
Updated: August 13, 2026 at 01:16 AM UTC
1 product affected across 1 vendorPython

Using CPython by Python Software Foundation?

Get instant alerts when new vulnerabilities affect CPython - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.2
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.10.213.11.0 ≤ v < 3.11.163.12.0 ≤ v < 3.12.143.13.0 ≤ v < 3.13.143.14.0 ≤ v < 3.14.63.15.0a1 ≤ v < 3.15.0b33.11.03.12.03.13.03.14.03.15.0a1
Affected range stops below 3.10.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.11.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.12.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.14.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.15.0b3, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.2HIGHPSF
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-121

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card