cve.bz

CVE-2026-6100 python software foundation cpython: Use After Free

9.1 criticalEPSS 0.6%

Critical (9.1) in python software foundation cpython. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

9.1 critical
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

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-416 Use After Free
CWE-787 Out-of-bounds Write
CWE-825 Expired Pointer Dereference
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6100 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6100?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6100?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6100 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.10.21
Python Software Foundation CPythonfrom 3.11.0 before 3.11.16
Python Software Foundation CPythonfrom 3.12.0 before 3.12.14
Python Software Foundation CPythonfrom 3.13.0 before 3.13.14
Python Software Foundation CPythonfrom 3.14.0a1 before 3.14.5rc1
Python Software Foundation CPythonfrom 3.15.0a1 before 3.15.0b1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python3.93.9.2-1+deb11u6DLA-4532-1
Debian12python3.113.11.2-6+deb12u8DEBIAN-CVE-2026-6100
Debian13python3.133.13.5-2+deb13u2DEBIAN-CVE-2026-6100
Debian14python3.143.14.5~rc1-1DEBIAN-CVE-2026-6100
Ubuntu20.04:LTS, 24.04:LTS, 26.04:LTS and 1 morepypy3no fix listedUBUNTU-CVE-2026-6100
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.16UBUNTU-CVE-2026-6100 USN-8509-1
Ubuntu24.04:LTSpython3.123.12.3-1ubuntu0.15UBUNTU-CVE-2026-6100 USN-8509-1
Ubuntu25.10pypy3, python3.13, python3.14no fix listedUBUNTU-CVE-2026-6100
Ubuntu26.04:LTSpython3.143.14.4-1ubuntu0.1UBUNTU-CVE-2026-6100 USN-8509-1
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2026-6100
UbuntuPro:16.04:LTSpython2.7, python3.5no fix listedUBUNTU-CVE-2026-6100
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2026-6100
UbuntuPro:20.04:LTSpython2.7, python3.8, python3.9no fix listedUBUNTU-CVE-2026-6100
UbuntuPro:22.04:LTSpython3.11no fix listedUBUNTU-CVE-2026-6100
Red Hatenterprise_linux:8::appstreampython3-idle, python3-test, platform-python and 5 more0:3.6.8-76.el8_10RHSA-2026:11077
Red Hatenterprise_linux:8::appstreampython3.11, python3.11-libs, python3.11-devel and 4 more0:3.11.13-7.el8_10RHSA-2026:11062
Red Hatenterprise_linux:8::appstreampython3.12, python3.12-libs, python3.12-devel and 4 more0:3.12.13-2.el8_10RHSA-2026:10950
Red Hatenterprise_linux:8::baseospython3, python3-libs, python3-test and 3 more0:3.6.8-76.el8_10RHSA-2026:11077
Red Hatenterprise_linux:8::crbpython3.11, python3.11-idle, python3.11-test and 4 more0:3.11.13-7.el8_10RHSA-2026:11062
Red Hatenterprise_linux:8::crbpython3.12, python3.12-idle, python3.12-test and 4 more0:3.12.13-2.el8_10RHSA-2026:10950
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-3.el9_7.3RHSA-2026:10949
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-7.el9_8RHSA-2026:19216
Red Hatenterprise_linux:9::appstreampython3.11, python3.11-libs, python3.11-devel and 3 more0:3.11.13-5.3.el9_7RHSA-2026:10774
Red Hatenterprise_linux:9::appstreampython3.11, python3.11-libs, python3.11-devel and 3 more0:3.11.13-9.el9_8RHSA-2026:19175
Red Hatenterprise_linux:9::appstreampython3.12, python3.12-libs, python3.12-devel and 3 more0:3.12.12-4.el9_7.3RHSA-2026:10745
Red Hatenterprise_linux:9::appstreampython3.12, python3.12-libs, python3.12-devel and 3 more0:3.12.13-2.el9_8RHSA-2026:19177
45 more for Red Hat in the JSON and on Red Hat's page.
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy, saltbundlepy-core3.11.15-90002.4.15.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cffi1.17.1-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cryptography3.3.2-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cssselect1.3.0-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-editables0.5-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-exceptiongroup, saltbundlepy-exceptiongroup-test1.2.2-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-flit-core3.12.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-fancy-pypi-readme, saltbundlepy-hatch-fancy-pypi-readme-test25.1.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-vcs, saltbundlepy-hatch-vcs-test0.5.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatchling1.31.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-idna3.10-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-iniconfig2.1.0-90002.3.3.1SUSE-SU-2026:4582-1
129 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0python3, python313, python313-core and 3 more3.13.14-160000.1.1openSUSE-SU-2026:21459-1
openSUSETumbleweedpython3103.10.20-6.1openSUSE-SU-2026:10647-1
openSUSETumbleweedpython3113.11.15-6.1openSUSE-SU-2026:11068-1
openSUSETumbleweedpython3123.12.13-6.1openSUSE-SU-2026:11100-1
openSUSETumbleweedpython3133.13.13-2.1openSUSE-SU-2026:10667-1
openSUSETumbleweedpython3143.14.6-1.1openSUSE-SU-2026:11181-1
openSUSETumbleweedpython3153.15.0~a8-3.1openSUSE-SU-2026:10648-1
AlmaLinux8python3-idle, python3-libs, python3-test and 4 more3.6.8-76.el8_10.alma.1ALSA-2026:11077
AlmaLinux8python3.11, python3.11-idle, python3.11-libs and 5 more3.11.13-7.el8_10ALSA-2026:11062
AlmaLinux8python3.12, python3.12-idle, python3.12-libs and 5 more3.12.13-2.el8_10ALSA-2026:10950
AlmaLinux9python3, python3-idle, python3-libs and 5 more3.9.25-3.el9_7.3ALSA-2026:10949
AlmaLinux9python3, python3-idle, python3-libs and 5 more3.9.25-7.el9_8ALSA-2026:19216
AlmaLinux9python3.11, python3.11-idle, python3.11-libs and 4 more3.11.13-5.3.el9_7ALSA-2026:10774
AlmaLinux9python3.11, python3.11-idle, python3.11-libs and 4 more3.11.13-9.el9_8ALSA-2026:19175
AlmaLinux9python3.12, python3.12-idle, python3.12-libs and 4 more3.12.12-4.el9_7.3ALSA-2026:10745
AlmaLinux9python3.12, python3.12-idle, python3.12-libs and 4 more3.12.13-2.el9_8ALSA-2026:19177
AlmaLinux9python3.14, python3.14-idle, python3.14-libs and 11 more3.14.4-2.el9_8ALSA-2026:19176
AlmaLinux10python-unversioned-command3.12.12-3.el10_1.3ALSA-2026:10711
AlmaLinux10python3, python3-idle, python3-libs and 5 more3.12.13-2.el10_2ALSA-2026:19064
1 more for AlmaLinux in the JSON.
Rocky Linux8python30:3.6.8-76.el8_10.rocky.0RLSA-2026:11077
Rocky Linux8python3.110:3.11.13-7.el8_10RLSA-2026:11062
Rocky Linux8python3.120:3.12.13-2.el8_10RLSA-2026:10950
Rocky Linux9python3.110:3.11.13-5.3.el9_7RLSA-2026:10774
Rocky Linux9python3.110:3.11.13-9.el9_8RLSA-2026:19175
Rocky Linux9python3.120:3.12.12-4.el9_7.3RLSA-2026:10745
Rocky Linux9python3.120:3.12.13-2.el9_8RLSA-2026:19177
Rocky Linux9python3.140:3.14.4-2.el9_8RLSA-2026:19176
Rocky Linux9python3.90:3.9.25-3.el9_7.3RLSA-2026:10949
Rocky Linux9python3.90:3.9.25-7.el9_8RLSA-2026:19216
Rocky Linux10python3.120:3.12.13-2.el10_2RLSA-2026:19064
Rocky Linux10python3.140:3.14.4-2.el10_2RLSA-2026:19019
Alpinev3.21, v3.22, v3.23python33.12.14-r0ALPINE-CVE-2026-6100
Azure Linux3python33.12.9-14AZL-83051
Alpaquita23python33.11.16-r0BELL-CVE-2026-6100
Alpaquita25python33.12.14-r0BELL-CVE-2026-6100
Alpaquitastreampython33.14.3-r1BELL-CVE-2026-6100
BellSoft Hardened Containers23python33.11.16-r0BELL-CVE-2026-6100
BellSoft Hardened Containers25python33.12.14-r0BELL-CVE-2026-6100
BellSoft Hardened Containersstreampython33.14.3-r1BELL-CVE-2026-6100

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The severity of this flaw is somewhat mitigated on Red Hat platforms. By default processes are not executed with root user privilege and are limited in their scope which in turn limits the impact of this flaw.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python3.12-0:3.12.12-3.el10_1.3Fixed 2026-04-27RHSA-2026:10711
Red Hat Enterprise Linux 10python3.14-0:3.14.4-2.el10_2Fixed 2026-05-19RHSA-2026:19019
Red Hat Enterprise Linux 10python3.12-0:3.12.13-2.el10_2Fixed 2026-05-19RHSA-2026:19064
Red Hat Enterprise Linux 10.0 Extended Update Supportpython3.12-0:3.12.9-2.el10_0.9Fixed 2026-05-13RHSA-2026:16699
Red Hat Enterprise Linux 7 Extended Lifecycle Supportpython3-0:3.6.8-21.el7_9.7Fixed 2026-08-10RHSA-2026:52400
Red Hat Enterprise Linux 8python3.12-0:3.12.13-2.el8_10Fixed 2026-04-27RHSA-2026:10950
Red Hat Enterprise Linux 8python3.11-0:3.11.13-7.el8_10Fixed 2026-04-27RHSA-2026:11062
Red Hat Enterprise Linux 8python3-0:3.6.8-76.el8_10Fixed 2026-04-27RHSA-2026:11077
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython3-0:3.6.8-39.el8_4.11Fixed 2026-05-20RHSA-2026:19590
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpython3-0:3.6.8-39.el8_4.11Fixed 2026-05-20RHSA-2026:19590
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpython3-0:3.6.8-47.el8_6.13Fixed 2026-05-14RHSA-2026:17619
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepython3-0:3.6.8-47.el8_6.13Fixed 2026-05-14RHSA-2026:17619
Red Hat Enterprise Linux 6pythonOut of support scope
Red Hat Enterprise Linux 7pythonOut of support scope
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Enterprise Linux 8python39-devel:3.9/python39Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3redhat-user-workloads/bootc-cuda-aws-3-3Affected
Red Hat Enterprise Linux AI (RHEL AI) 3redhat-user-workloads/bootc-cuda-azure-3-3Affected
Red Hat Enterprise Linux AI (RHEL AI) 3redhat-user-workloads/bootc-cuda-gcp-3-3Affected
Red Hat Enterprise Linux AI (RHEL AI) 3redhat-user-workloads/bootc-rocm-azure-3-3Affected
52 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6100.

References

Check your stackJSON