bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.42% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14; azl3 python3 3.12.9-14 on Azure Linux 3.0 3.12.9-14.
Low priority for now. Upgrade to Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14; azl3 python3 3.12.9-14 on Azure Linux 3.0 3.12.9-14 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
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.
- openSUSE-SU-2026:11181-1
- openSUSE-SU-2026:11747-1
- openSUSE-SU-2026:11748-1
- openSUSE-SU-2026:11756-1
- openSUSE-SU-2026:11757-1
- openSUSE-SU-2026:11817-1
- RHSA-2026:67572
- RHSA-2026:68132
- RHSA-2026:68135
- RHSA-2026:68154
- RHSA-2026:68309
- SUSE-SU-2026:23845-1
- SUSE-SU-2026:4396-1
- SUSE-SU-2026:4401-1
- SUSE-SU-2026:4411-1
- Published
- Jun 8, 2026
- Updated
- Aug 13, 2026
- EPSS
- 0.4% · 35th percentile
- CWE
- CWE-121
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 32 / 40 · 8.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · PSF
- 8.2
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (PSF). Independent of NVD's CPE analysis and usually ahead of it.
Python Software Foundation CPython
- before 3.10.21affected · python
- 3.11.0 and later · before 3.11.16affected · python
- 3.12.0 and later · before 3.12.14affected · python
- 3.13.0 and later · before 3.13.14affected · python
- 3.14.0 and later · before 3.14.6affected · python
- 3.15.0a1 and later · before 3.15.0b3affected · python
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.24 | python3 | before 3.14.7-r0 | 3.14.7-r0 |
| Debian:12 | python3.11 | before 3.11.2-6+deb12u9 | 3.11.2-6+deb12u9 |
| Debian:13 | python3.13 | before 3.13.5-2+deb13u3 | 3.13.5-2+deb13u3 |
| Debian:14 | python3.13 | before 3.13.14-1 | 3.13.14-1 |
| Debian:14 | python3.14 | before 3.14.6-1 | 3.14.6-1 |
| openSUSE:Tumbleweed | python310 | before 3.10.21-1.1 | 3.10.21-1.1 |
| openSUSE:Tumbleweed | python311 | before 3.11.16-1.1 | 3.11.16-1.1 |
| openSUSE:Tumbleweed | python312 | before 3.12.14-1.1 | 3.12.14-1.1 |
| openSUSE:Tumbleweed | python313 | before 3.13.15-1.1 | 3.13.15-1.1 |
| openSUSE:Tumbleweed | python314 | before 3.14.6-1.1 | 3.14.6-1.1 |
| openSUSE:Tumbleweed | python315 | before 3.15.0~rc2-1.1 | 3.15.0~rc2-1.1 |
| Red Hat:hummingbird:1 | python-unversioned-command | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3 | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3-debug | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3-devel | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3-idle | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3-libs | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3-test | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3-tkinter | before 0:3.14.7-1.2.hum1 | 0:3.14.7-1.2.hum1 |
| Red Hat:hummingbird:1 | python3.10 | before 0:3.10.21-1.3.hum1 | 0:3.10.21-1.3.hum1 |
| Red Hat:hummingbird:1 | python3.10-debug | before 0:3.10.21-1.3.hum1 | 0:3.10.21-1.3.hum1 |
| Red Hat:hummingbird:1 | python3.10-devel | before 0:3.10.21-1.3.hum1 | 0:3.10.21-1.3.hum1 |
| Red Hat:hummingbird:1 | python3.10-idle | before 0:3.10.21-1.3.hum1 | 0:3.10.21-1.3.hum1 |
| Red Hat:hummingbird:1 | python3.10-libs | before 0:3.10.21-1.3.hum1 | 0:3.10.21-1.3.hum1 |
+42
Same product
python software foundation: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-4517Arbitrary writes via tarfile realpath overflow37Monitor
- CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts36Monitor
- CVE-2026-6100Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure36Monitor
- CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes35Monitor
- CVE-2024-12254Unbounded memory buffering in SelectorSocketTransport.writelines()35Monitor
- CVE-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Python Software Foundation CPython | 3.10.21 | Vendor (CNA) |
| Python Software Foundation CPython | 3.11.16 | Vendor (CNA) |
| Python Software Foundation CPython | 3.12.14 | Vendor (CNA) |
| Python Software Foundation CPython | 3.13.14 | Vendor (CNA) |
| Python Software Foundation CPython | 3.14.6 | Vendor (CNA) |
| Python Software Foundation CPython | 3.15.0b3 | Vendor (CNA) |
| azl3 python3 3.12.9-14 on Azure Linux 3.0 | 3.12.9-14 · CBL-Mariner Releases | Microsoft (MSRC) |
| alpine:python3 | 3.14.7-r0 · Alpine:v3.24 | Package registry (OSV) |
| debian:python3.11 | 3.11.2-6+deb12u9 · Debian:12 | Package registry (OSV) |
| debian:python3.13 | 3.13.5-2+deb13u3 · Debian:13 | Package registry (OSV) |
| debian:python3.14 | 3.14.6-1 · Debian:14 | Package registry (OSV) |
| opensuse:python310 | 3.10.21-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python311 | 3.11.16-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python312 | 3.12.14-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python313 | 3.13.15-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python314 | 3.14.6-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python315 | 3.15.0~rc2-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:python-unversioned-command | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3 | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3-debug | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3-devel | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3-idle | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3-libs | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3-test | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3-tkinter | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3.14 | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3.14-freethreading | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3.14-freethreading-debug | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3.14-freethreading-devel | 0:3.14.7-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| suse:python | 2.7.18-150000.133.1 · SUSE:Linux Enterprise Module for Package Hub 15 SP7 | Package registry (OSV) |
+6
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Bitshift (https://github.com/TheShiftedBit)reporter
- Emma Smith (https://github.com/emmatyping)coordinator
- Stan Ulbrych (https://github.com/StanFromIreland)remediation developer
- Serhiy Storchaka (https://github.com/serhiy-storchaka)remediation reviewer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-571355 days apartOut-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target21Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-121 · Stack-based Buffer OverflowCVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- github.com/python/cpython/commit/1ba6135eae75ad8413413caeeedb56ae72320636
- github.com/python/cpython/commit/5755d0f083949ff3c5bf3a37e673e24e306b036e
- github.com/python/cpython/commit/619a12b2e545391dc436b3af79dda22337382a6f
- github.com/python/cpython/commit/938ec030e90c5e53f1faac6fab1643f14e4f4a79
- github.com/python/cpython/commit/991e6cf86496718c4ef00b362d640e00cb5c85b2
- github.com/python/cpython/commit/d3ca26983dfbccdf609f24ff5877dc3118e4702d
- github.com/python/cpython/issues/150599
- github.com/python/cpython/pull/150600
- mail.python.org/archives/list/security-announce@python.org/thread/DBJZETMGUIFK7DVUWMOXHD3Z6IX2QPSX/
- www.openwall.com/lists/oss-security/2026/06/08/17
Vendor advisories and official records. Exploit/PoC links are deliberately left out.