Skip to content
9.1 Critical

CVE-2026-6100 Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a…

Description

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.

Affected products and versions

Product Affected versions Fixed in
CPython 3.15 3.15.0a1 → < 3.15.0b1 3.15.0b1
CPython 3.14 3.14.0a1 → < 3.14.5rc1 3.14.5rc1
CPython 3.13 3.13.0 → < 3.13.14 3.13.14
CPython 3.12 3.12.0 → < 3.12.14 3.12.14
CPython 3.11 3.11.0 → < 3.11.16 3.11.16
CPython 3.10 earliest → < 3.10.21 3.10.21
Middleware Containers for OpenShift Versions not published
Red Hat Enterprise Linux AppStream EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux AppStream (v. 10) Versions not published
Show the 58 other branches
Product Affected versions Fixed in
Red Hat Enterprise Linux AppStream (v. 8) Versions not published
Red Hat Enterprise Linux AppStream AUS (v.8.4) Versions not published
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) Versions not published
Red Hat Enterprise Linux AppStream AUS (v.8.6) Versions not published
Red Hat Enterprise Linux AppStream E4S (v.8.6) Versions not published
Red Hat Enterprise Linux AppStream TUS (v.8.6) Versions not published
Red Hat Enterprise Linux AppStream E4S (v.8.8) Versions not published
Red Hat Enterprise Linux AppStream TUS (v.8.8) Versions not published
Red Hat Enterprise Linux AppStream E4S (v.9.0) Versions not published
Red Hat Enterprise Linux AppStream E4S (v.9.2) Versions not published
Red Hat Enterprise Linux AppStream EUS (v.9.4) Versions not published
Red Hat Enterprise Linux AppStream EUS (v.9.6) Versions not published
Red Hat Enterprise Linux AppStream (v. 9) Versions not published
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux BaseOS (v. 10) Versions not published
Red Hat Enterprise Linux BaseOS (v. 8) Versions not published
Red Hat Enterprise Linux BaseOS AUS (v.8.4) Versions not published
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) Versions not published
Red Hat Enterprise Linux BaseOS AUS (v.8.6) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.8.6) Versions not published
Red Hat Enterprise Linux BaseOS TUS (v.8.6) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.8.8) Versions not published
Red Hat Enterprise Linux BaseOS TUS (v.8.8) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.9.0) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.9.2) Versions not published
Red Hat Enterprise Linux BaseOS EUS (v.9.4) Versions not published
Red Hat Enterprise Linux BaseOS EUS (v.9.6) Versions not published
Red Hat Enterprise Linux BaseOS (v. 9) Versions not published
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) Versions not published
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) Versions not published
Red Hat Enterprise Linux CRB (v. 8) Versions not published
Red Hat CodeReady Linux Builder EUS (v.9.4) Versions not published
Red Hat CodeReady Linux Builder EUS (v.9.6) Versions not published
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) Versions not published
Red Hat AI Inference Server 3.2 1780681984 earliest → < 1780681984 1780681984
Red Hat AI Inference Server 3.3 1782352847 earliest → < 1782352847 1782352847
Red Hat Enterprise Linux AI 3.3 1776938871 earliest → < 1776938871 1776938871
Red Hat Hardened Images 3.14 earliest → < 3.14.4-2.hum1 3.14.4-2.hum1
Red Hat Update Infrastructure 5 1779798222 earliest → < 1779798222 1779798222
Red Hat Enterprise Linux 6 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux AI (RHEL AI) 3 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 10.0 Extended Update Support Versions not published
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Versions not published
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Versions not published
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Versions not published
Red Hat Enterprise Linux 8.6 Telecommunications Update Service Versions not published
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 8.8 Telecommunications Update Service Versions not published
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9 Versions not published
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9.4 Extended Update Support Versions not published
Red Hat Enterprise Linux 9.6 Extended Update Support Versions not published
RHEL-8 based Middleware Containers 7.13 earliest → < 7.13.5-4.1777325708 7.13.5-4.1777325708

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE