CVE-2026-6100: Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure

Published Apr 13, 2026
·
Updated

Last updated 6 July 2026

Other sources

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.

— Launchpad

Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure

— Microsoft

Affected Software

34 affected componentsFixes available
Python Software Foundation CPython
Microsoft azl3 python3 3.12.9-13<3.12.9-14
3.12.9-14
Microsoft azl3 python3 3.12.9-14<3.12.9-14
3.12.9-14
IBM Netezza Software<=11.3.0.3-IF2
debian/python3.11<3.11.2-6+deb12u8
3.11.2-6+deb12u8
debian/python3.13<3.13.5-2+deb13u2
3.13.5-2+deb13u2
debian/python3.14<3.14.5~rc1-1
3.14.5~rc1-1
ubuntu/python2.7*
ubuntu/python3.4*
ubuntu/python3.5*
ubuntu/python2.7*
ubuntu/python3.5*
ubuntu/python2.7*
ubuntu/python3.6*
ubuntu/python3.7*
ubuntu/python3.8*
ubuntu/pypy3*
ubuntu/python2.7*
ubuntu/python3.9*
ubuntu/python3.10<3.10.12-1~22.04.16
3.10.12-1~22.04.16
ubuntu/python3.11*
ubuntu/pypy3*
ubuntu/python3.12<3.12.3-1ubuntu0.15
3.12.3-1ubuntu0.15
ubuntu/pypy3*
ubuntu/python3.13*
ubuntu/python3.14*
ubuntu/pypy3*
ubuntu/pypy3*
ubuntu/python3.14<3.14.4-1ubuntu0.1
3.14.4-1ubuntu0.1
debian/pypy3
debian/python3.11
3.11.2-6+deb12u8
debian/python3.13
3.13.5-2+deb13u23.13.14-1
debian/python3.14
3.14.5~rc1-1
debian/python3.9
3.9.2-1+deb11u6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.12.9-14
  2. Upgrade

    Upgrade debian/python3.11 to a version that resolves this vulnerability.

    Fixed in 3.11.2-6+deb12u8
  3. Upgrade

    Upgrade debian/python3.13 to a version that resolves this vulnerability.

    Fixed in 3.13.5-2+deb13u2
  4. Upgrade

    Upgrade debian/python3.14 to a version that resolves this vulnerability.

    Fixed in 3.14.5~rc1-1
  5. Upgrade

    Upgrade ubuntu/python3.10 to a version that resolves this vulnerability.

    Fixed in 3.10.12-1~22.04.16
  6. Upgrade

    Upgrade ubuntu/python3.12 to a version that resolves this vulnerability.

    Fixed in 3.12.3-1ubuntu0.15
  7. Upgrade

    Upgrade ubuntu/python3.14 to a version that resolves this vulnerability.

    Fixed in 3.14.4-1ubuntu0.1
  8. Upgrade

    Upgrade debian/python3.13 to a version that resolves this vulnerability.

    Fixed in 3.13.5-2+deb13u2Fixed in 3.13.14-1
  9. Upgrade

    Upgrade debian/python3.9 to a version that resolves this vulnerability.

    Fixed in 3.9.2-1+deb11u6

Event History

Apr 13, 2026
CVE Published
via MITRE·05:15 PM
Data Sourced
via MITRE·05:15 PM
DescriptionWeakness
Data Sourced
via OSV·05:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Apr 19, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Apr 21, 2026
Event
via FIRST·12:00 AM
May 4, 2026
News Published
via The Hacker News·02:23 PM
May 25, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 30, 2026
Updated
via NVD·03:21 AM
SeverityWeakness
Jul 27, 2026
Updated
via IBM·12:00 AM
Affected Software
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 17, 2026
Data Sourced
via OSV·12:59 PM
Affected Software
Nov 9, 2026
Updated
via OSV·12:49 PM
Affected Software
Nov 17, 2026
Updated
via OSV·06:21 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-6100?

CVE-2026-6100 has a moderate severity rating due to the potential for use-after-free vulnerabilities leading to arbitrary code execution.

2

How do I fix CVE-2026-6100?

To fix CVE-2026-6100, update to the latest version of Python CPython that addresses the use-after-free vulnerability.

3

Which versions of Python CPython are affected by CVE-2026-6100?

CVE-2026-6100 affects specific versions of Python CPython where the decompression modules are utilized.

4

What systems are at risk from CVE-2026-6100?

Systems utilizing affected versions of Python CPython for decompression tasks under memory pressure are at risk from CVE-2026-6100.

5

Can CVE-2026-6100 lead to data breaches?

Yes, CVE-2026-6100 can potentially allow attackers to exploit the vulnerability, leading to data breaches or unauthorized access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203