CVE-2025-13462
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
9.8
CRITICAL
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2025-13462
To remediate CVE-2025-13462, upgrade the affected package to a fixed version below.
- —upgrade to 3.15.0 or later
- —upgrade to 3.15.0 or later
- —no fix listed
- —no fix listed
- —upgrade to 3.13.5-2+deb13u1 or later
- —upgrade to 3.14.3-4 or later
- —upgrade to 3.9.2-1+deb11u7 or later
Is CVE-2025-13462 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 3.15.0
- from 0, < 3.15.0
- from 0
- from 0
- from 0, < 3.13.5-2+deb13u1
- from 0, < 3.14.3-4
- from 0, < 3.9.2-1+deb11u7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS: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 |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |