CVE-2025-13462
Vulnerability Summary
Timeline
Description
The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.
CVSS Metrics
- v4.0•LOW•Score: 2CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- v4.0•LOW•Score: 2CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- v3.1•LOW•Score: 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS Trends
Current EPSS score: 0.16%• Percentile: 6%
Techniques & Countermeasures
- CWE-20•Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-74•Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
- CWE-434•Unrestricted Upload of File with Dangerous Type
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Affected Systems
- chainguard•python-3.10
all | < 3.10.21-r6
- chainguard•python-3.11
< 3.11.15-r9
- chainguard•python-3.12
all | < 3.12.14-r8
- chainguard•python-3.13
< 3.13.13-r0
- chainguard•python-3.14
< 3.14.4-r0
- chainguard•python-3.9
all
- wolfi•python-3.10
all | < 3.10.21-r6
- wolfi•python-3.11
< 3.11.15-r9
- wolfi•python-3.12
all | < 3.12.14-r8
- wolfi•python-3.13
< 3.13.13-r0
- wolfi•python-3.14
< 3.14.4-r0
- debian•python2.7
all
- debian•python3.11
< 3.11.2-6+deb12u8
- debian•python3.13
< 3.13.5-2+deb13u1 | < 3.13.14-1
- debian•python3.14
< 3.14.3-4
- debian•python3.9
< 3.9.2-1+deb11u7
- ubuntu•python2.7
all
- ubuntu•python3.10
< 3.10.12-1~22.04.16
- ubuntu•python3.11
all | all
- ubuntu•python3.12
< 3.12.3-1ubuntu0.15
- ubuntu•python3.13
all
- ubuntu•python3.14
all
- ubuntu•python3.4
all
- ubuntu•python3.5
all
- ubuntu•python3.6
all
- ubuntu•python3.7
all
- ubuntu•python3.8
all
- ubuntu•python3.9
all
- python software foundation•cpython
< 3.15.0 | < 3.14.4 | < 3.13.13 | < 3.10.21 | ≥ 3.11.0, < 3.11.16 | ≥ 3.12.0, < 3.12.14 | ≥ 3.13.0, < 3.13.13 | ≥ 3.14.0, < 3.14.4 | ≥ 3.15.0a1, < 3.15.0a8
- python•python
< 3.13.13 | ≥ 3.14.0, < 3.14.4 | 3.15.0:alpha1 | 3.15.0:alpha2 | 3.15.0:alpha3 | 3.15.0:alpha4 | 3.15.0:alpha5 | 3.15.0:alpha6 | 3.15.0:alpha7
References (16)
- https://github.com/python/cpython/pull/143934
- https://github.com/python/cpython/issues/141707
- https://mail.python.org/archives/list/security-announce@python.org/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/
- https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8ab
- https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017
- https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7
- https://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114
- https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406
- https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084
- https://ubuntu.com/security/CVE-2025-13462
- https://www.cve.org/CVERecord?id=CVE-2025-13462
- https://ubuntu.com/security/notices/USN-8509-1
- https://security-tracker.debian.org/tracker/CVE-2025-13462
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13462.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-13462
- https://github.com/python/cpython