Skip to main content
CVE-2026-6100VulnerabilityPublished Updated

Python2.7: Use-after-free (UAF) was possible

Affects python2.7Source GCVE Database

0
Compare
Authoritative record:CVE-2026-6100· Critical 9.1

Not known to be exploited · CVSS 9.1 Critical · fixed in 3.10.12-1~22.04.16 : patch python2.7 as a priority.

Data as of 9 Nov 2026, 14:22 UTC

CVSS 4.0 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.10.12-1~22.04.16, 3.12.3-1ubuntu0.15, 3.14.4-1ubuntu0.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade the Ubuntu to 3.10.12-1~22.04.16 (python3.10 package) or 3.12.3-1ubuntu0.15 (python3.12 package) or 3.14.4-1ubuntu0.1 (python3.14 package).

Affected software

ProductAffectedFixed in
Ubuntu 26.10pypy3pkg:deb/ubuntu/pypy3?arch=source&distro=stonkingOther threatsAffected
  • =7.3.20+dfsg-4
  • =7.3.23+dfsg-1ubuntu1
Fixed in–
Ubuntu 26.04 LTSpypy3pkg:deb/ubuntu/pypy3?arch=source&distro=resoluteOther threatsAffected
  • =7.3.20+dfsg-3
  • =7.3.20+dfsg-4
Fixed in–
Ubuntu 26.04 LTSpython3.14pkg:deb/ubuntu/python3.14?arch=source&distro=resoluteOther threatsAffected
  • <3.14.4-1ubuntu0.1
Fixed in
  • 3.14.4-1ubuntu0.1
Ubuntu 25.10pypy3pkg:deb/ubuntu/pypy3?arch=source&distro=questingOther threatsAffected
  • 7.3.19+dfsg-1 – 7.3.20+dfsg-3
4 affected builds
Fixed in–
Ubuntu 25.10python3.13pkg:deb/ubuntu/python3.13?arch=source&distro=questingOther threatsAffected
  • 3.13.3-1 – 3.13.7-1ubuntu0.4
12 affected builds
Fixed in–
Ubuntu 25.10python3.14pkg:deb/ubuntu/python3.14?arch=source&distro=questingOther threatsAffected
  • 3.14.0-1 – 3.14.0~rc3-1
10 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Apply the official patches provided by Ubuntu in versions 3.10.12-1~22.04.16, 3.12.3-1ubuntu0.15, and 3.14.4-1ubuntu0.1 or later. Avoid reusing decompressor instances after a MemoryError occurs during decompression. Using one-shot decompression helper functions such as lzma.decompress(), bz2.decompress(), gzip.decompress(), and zlib.decompress() is not vulnerable. Standard system updates will apply the necessary fixes.

Description

A use-after-free vulnerability exists in Python 2.7 and certain Python 3 versions in the lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile classes. This occurs when a MemoryError during decompression leads to reuse of the decompressor instance without proper cleanup. The vulnerability can cause crashes or potentially arbitrary code execution. It affects programs that reuse decompressor instances after a MemoryError; one-shot decompression functions are not affected. Fixed versions are available in Python 3.10.12, 3.12.3, and 3.14.4.

References

Community reviews

Loading reviews…