Skip to main content
CVE-2025-8194VulnerabilityPublished Updated

Python2.7: The tar implementation would process tar archives with negative offsets without error, resulting in an

Affects python2.7Source GCVE Database

0
Compare
Authoritative record:CVE-2025-8194· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 2.7.6-8ubuntu0.6+esm26 : patch python2.7 soon.

Data as of 24 Nov 2026, 19:43 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.7.6-8ubuntu0.6+esm26, 3.4.3-1ubuntu1~14.04.7+esm16, 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7 +13
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jul 2025

  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 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10python3.13pkg:deb/ubuntu/python3.13?arch=source&distro=questingOther threatsAffected
  • <3.13.6-1
Fixed in
  • 3.13.6-1
Ubuntu 24.04 LTSpython3.12pkg:deb/ubuntu/python3.12?arch=source&distro=nobleOther threatsAffected
  • <3.12.3-1ubuntu0.8
Fixed in
  • 3.12.3-1ubuntu0.8
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threatsAffected
  • <3.10.12-1~22.04.11
Fixed in
  • 3.10.12-1~22.04.11
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <2.7.18-13ubuntu1.5+esm7
Fixed in
  • 2.7.18-13ubuntu1.5+esm7
Ubuntu Pro 22.04 LTSpython3.11pkg:deb/ubuntu/python3.11?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <3.11.0~rc1-1~22.04.1~esm5
Fixed in
  • 3.11.0~rc1-1~22.04.1~esm5
Ubuntu Pro 20.04 LTSpython3.8pkg:deb/ubuntu/python3.8?arch=source&distro=esm-infra/focalOther threatsAffected
  • <3.8.10-0ubuntu1~20.04.18+esm2
Fixed in
  • 3.8.10-0ubuntu1~20.04.18+esm2

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

Description

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the “tarfile” module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

References

Community reviews

Loading reviews…