CVE-2026-6100: Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure
Noroxi assessment
Priority: Monitor (action score 36/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.57% (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-13 on Azure Linux 3.0 3.12.9-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-13 on Azure Linux 3.0 3.12.9-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
Primary sources: NVD · CVE.org · FIRST EPSS
Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a memory allocation fails with a `MemoryError` and the decompression instance is re-used. This scenario can be triggered if the process is under memory pressure. The fix cleans up the dangling pointer in this specific error condition. The vulnerability is only present if the program re-uses decompressor instances across multiple decompression calls even after a `MemoryError` is raised during decompression. Using the helper functions to one-shot decompress data such as `lzma.decompress()`, `bz2.decompress()`, `gzip.decompress()`, and `zlib.decompress()` are not affected as a new decompressor instance is used per call. If the decompressor instance is not re-used after an error condition, this usage is similarly not vulnerable.
- BDU:2026-05838
- ALSA-2026:10711
- ALSA-2026:10745
- ALSA-2026:10774
- ALSA-2026:10949
- ALSA-2026:10950
- ALSA-2026:11062
- ALSA-2026:11077
- ALSA-2026:19019
- ALSA-2026:19064
- ALSA-2026:19175
- ALSA-2026:19176
- ALSA-2026:19177
- ALSA-2026:19216
- openSUSE-SU-2026:10647-1
- openSUSE-SU-2026:10648-1
- openSUSE-SU-2026:10667-1
- openSUSE-SU-2026:11068-1
- openSUSE-SU-2026:11100-1
- openSUSE-SU-2026:11181-1
- Published
- Apr 13, 2026
- Updated
- Oct 26, 2026
- EPSS
- 0.5% · 47th percentile
- CWE
- CWE-416
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · PSF
- 9.1
- 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:H/VI:H/VA:N/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.
| Vendor | Product | CPE |
|---|---|---|
| enterprise linux | 10.1 | cpe:2.3:redhat:enterprise_linux:10.1 |
| enterprise linux | 10.2 | cpe:2.3:redhat:enterprise_linux:10.2 |
| enterprise linux eus | 10.0 | cpe:2.3:redhat:enterprise_linux_eus:10.0 |
| enterprise linux | 8 | cpe:2.3:redhat:enterprise_linux:8 |
| rhel aus | 8.4 | cpe:2.3:redhat:rhel_aus:8.4 |
| rhel eus long life | 8.4 | cpe:2.3:redhat:rhel_eus_long_life:8.4 |
| rhel aus | 8.6 | cpe:2.3:redhat:rhel_aus:8.6 |
| rhel tus | 8.6 | cpe:2.3:redhat:rhel_tus:8.6 |
| rhel e4s | 8.6 | cpe:2.3:redhat:rhel_e4s:8.6 |
| rhel tus | 8.8 | cpe:2.3:redhat:rhel_tus:8.8 |
| rhel e4s | 8.8 | cpe:2.3:redhat:rhel_e4s:8.8 |
| enterprise linux | 9 | cpe:2.3:redhat:enterprise_linux:9 |
and 13 more
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.0a1 and later · before 3.14.5rc1affected · python
- 3.15.0a1 and later · before 3.15.0b1affected · python
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | python-unversioned-command | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python-unversioned-command | before 3.12.12-3.el10_1.3 | 3.12.12-3.el10_1.3 |
| AlmaLinux:10 | python3 | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python3-debug | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python3-devel | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python3-idle | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python3-libs | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python3-test | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python3-tkinter | before 3.12.13-2.el10_2 | 3.12.13-2.el10_2 |
| AlmaLinux:10 | python3.14 | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-debug | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-devel | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-freethreading | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-freethreading-debug | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-freethreading-devel | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-freethreading-idle | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-freethreading-libs | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-freethreading-test | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-freethreading-tkinter | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-idle | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-libs | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-test | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:10 | python3.14-tkinter | before 3.14.4-2.el10_2 | 3.14.4-2.el10_2 |
| AlmaLinux:8 | platform-python | before 3.6.8-76.el8_10.alma.1 | 3.6.8-76.el8_10.alma.1 |
+96
Same product
python software foundation: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-115557Distrust compromised intermediate certificates in ssl module37Monitor
- CVE-2025-4517Arbitrary writes via tarfile realpath overflow37Monitor
- CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-1502Apr 10, 2026 · HTTP client proxy tunnel headers not validated for CR/LF22Monitor
- ← EarlierCVE-2026-3446Apr 10, 2026 · Base64 decoding stops at first padded quad by default24Monitor
- Later →CVE-2026-4786Apr 13, 2026 · Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()28Monitor
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.5rc1 | Vendor (CNA) |
| Python Software Foundation CPython | 3.15.0b1 | Vendor (CNA) |
| azl3 python3 3.12.9-13 on Azure Linux 3.0 | 3.12.9-14 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 python3 3.12.9-14 on Azure Linux 3.0 | 3.12.9-14 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:python-unversioned-command | 3.12.12-3.el10_1.3 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:python3.11 | 3.11.13-5.3.el9_7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.11-debug | 3.11.13-5.3.el9_7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.11-devel | 3.11.13-5.3.el9_7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.11-idle | 3.11.13-5.3.el9_7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.12 | 3.12.12-4.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.12-debug | 3.12.12-4.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.12-devel | 3.12.12-4.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.12-idle | 3.12.12-4.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.12-libs | 3.12.12-4.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.12-test | 3.12.12-4.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3.12-tkinter | 3.12.12-4.el9_7.3 · AlmaLinux:9 | Package registry (OSV) |
| alpine:python3 | 3.12.14-r0 · Alpine:v3.21 | Package registry (OSV) |
| debian:python3.11 | 3.11.2-6+deb12u8 · Debian:12 | Package registry (OSV) |
| debian:python3.13 | 3.13.5-2+deb13u2 · Debian:13 | Package registry (OSV) |
| debian:python3.14 | 3.14.5~rc1-1 · Debian:14 | Package registry (OSV) |
| opensuse:python3 | 3.13.14-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:python310 | 3.10.20-6.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python311 | 3.11.15-6.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python312 | 3.12.13-6.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python313 | 3.13.13-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python313-core | 3.13.14-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
+41
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.
No history yet (it accumulates with the daily EPSS job).
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.
- Ryan Hilemanreporter
- Stan Ulbrychremediation developer
- Seth Larsoncoordinator
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-19445170 days apartUse-after-free of a server-side SSLContext when sni_callback switches contexts36Monitor
- CVE-2025-4516333 days apartUse-after-free in "unicode_escape" decoder with error handler23Monitor
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-416 · Use After FreeCVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/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
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);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 (19 more)Show less
- github.com/python/cpython/commit/6a5f79c8d7bbf22b083b240910c7a8781a59437d
- github.com/python/cpython/commit/8fc66aef6d7b3ae58f43f5c66f9366cc8cbbfcd2
- github.com/python/cpython/commit/c3cf71c3366fe49acb776a639405c0eea6169c20
- github.com/python/cpython/commit/e20c6c9667c99ecaab96e1a2b3767082841ffc8b
- github.com/python/cpython/commit/ea8d735eb084cf8cc021df1a30e90d10a8f052e3
- github.com/python/cpython/issues/148395
- github.com/python/cpython/pull/148396
- mail.python.org/archives/list/security-announce@python.org/thread/HTWB2Z6KT5QQX4RYEZAFININDHNOSIF3/
- www.openwall.com/lists/oss-security/2026/04/13/10
- access.redhat.com/errata/RHSA-2026:10117
- access.redhat.com/errata/RHSA-2026:10140
- access.redhat.com/errata/RHSA-2026:10141
- access.redhat.com/errata/RHSA-2026:10711
- access.redhat.com/errata/RHSA-2026:10745
- access.redhat.com/errata/RHSA-2026:10774
- access.redhat.com/errata/RHSA-2026:10949
- access.redhat.com/errata/RHSA-2026:10950
- access.redhat.com/errata/RHSA-2026:11062
- access.redhat.com/errata/RHSA-2026:11077
Vendor advisories and official records. Exploit/PoC links are deliberately left out.