CVE-2025-8194

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-8194
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-8194.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-8194
Aliases
Downstream
Published
2025-07-28T19:15:43Z
Modified
2025-07-30T06:28:34.373449Z
Summary
[none]
Details

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

Affected packages

Debian:11 / python2.7

Package

Name
python2.7
Purl
pkg:deb/debian/python2.7?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.18-8
2.7.18-8+deb11u1
2.7.18-9
2.7.18-10
2.7.18-11
2.7.18-12
2.7.18-13
2.7.18-13.1~exp1
2.7.18-13.1
2.7.18-13.2

Ecosystem specific

{
    "urgency": "end-of-life"
}

Debian:12 / python3.11

Package

Name
python3.11
Purl
pkg:deb/debian/python3.11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.11.2-6
3.11.2-6+deb12u1
3.11.2-6+deb12u2
3.11.2-6+deb12u3
3.11.2-6+deb12u4
3.11.2-6+deb12u5
3.11.2-6+deb12u6
3.11.3-1
3.11.3-2
3.11.4-1
3.11.5-1
3.11.5-2
3.11.5-3
3.11.6-1
3.11.6-2
3.11.6-3~hurd.2
3.11.6-3
3.11.7-1
3.11.7-2
3.11.8-1
3.11.8-1.1~exp1
3.11.8-1.1~exp2
3.11.8-2
3.11.8-3
3.11.8-3+hurd.1
3.11.9-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / python3.13

Package

Name
python3.13
Purl
pkg:deb/debian/python3.13?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.13.5-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python3.9

Package

Name
python3.9
Purl
pkg:deb/debian/python3.9?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.9.2-1
3.9.2-1+deb11u1
3.9.2-1+deb11u2
3.9.2-1+deb11u3
3.9.3-1
3.9.3-2
3.9.4-1
3.9.5-1
3.9.5-2
3.9.5-3
3.9.6-1
3.9.7-1
3.9.7-2
3.9.7-4
3.9.8-1
3.9.8-2
3.9.9-1
3.9.9-2
3.9.9-3
3.9.9-4
3.9.10-1
3.9.10-2
3.9.11-1
3.9.12-1
3.9.13-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}