CVE-2026-6100: Vulnerability in Python Software Foundation CPython

Critical. 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.

CWE-416, CWE-787

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

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
Weakness
CWE-416, CWE-787, CWE-825
Published
13 Apr 2026
Last change
30 Nov 2026

Affected products

Affected versions and the first fixed release

  • Python Software Foundation CPython Before 3.10.21; From 3.11.0 before 3.11.16; From 3.12.0 before 3.12.14; From 3.13.0 before 3.13.14; From 3.14.0a1 before 3.14.5rc1; From 3.15.0a1 before 3.15.0b1. Fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1
  • Python Before 3.10.21; From 3.11.0 before 3.11.16; From 3.12.0 before 3.12.14; From 3.13.0 before 3.13.14; From 3.14.0 before 3.14.5; Version 3.15.0. Fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5
  • Red Hat Ai Inference Server From 3.2.0 before 3.2.2; From 3.3.0 before 3.3.5. Fixed in 3.2.2, 3.3.5
  • Red Hat Hardened Images All versions. No fixed version recorded
  • Red Hat Openshift Ai From 3.4 before 3.4.3. Fixed in 3.4.3
  • Red Hat Openshift Container Platform From 4.10 through 4.12.103. No fixed version recorded
  • Red Hat Update Infrastructure From 5.0 before 5.2. Fixed in 5.2
  • Red Hat Enterprise Linux Versions 6.0, 7.0, 8.0, 9.0, 10.0. No fixed version recorded

Patches and fixes

Updates, commits and release notes

Related