PoC Monitor
← All CVEs
CVE-2025-8194published 28 Jul 2025 18:42 UTCData: JSON · API

Python Software Foundation CPython

Tarfile infinite loop during parsing with negative member offset

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-835
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Python Software Foundation CPython
  • < 3.9.24
  • >= 3.10.0, < 3.10.19
  • >= 3.11.0, < 3.11.14
  • >= 3.12.0, < 3.12.12
  • >= 3.13.0, < 3.13.6
  • >= 3.14.0a1, < 3.14.0rc2

Fixed in 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.6, 3.14.0rc2

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published28 Jul 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.