{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-13462","id":"CVE-2025-13462","title":"tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling","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.","descriptionLong":"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.","published":"2026-03-12T17:59:26.620Z","updated":"2026-11-10T10:45:38.455116993Z","reserved":"2025-11-19T22:05:07.578Z","status":"Analyzed","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":2,"vector":"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","rating":"low","source":"PSF"},"metrics":[{"version":"4.0","score":2,"vector":"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","rating":"low","source":"PSF"},{"version":"4.0","score":2,"vector":"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","rating":"low","source":"python.org"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"}],"rating":"low","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.10.21","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.16","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.14","status":"affected","versionType":"python"},{"version":"3.13.0","lessThan":"3.13.13","status":"affected","versionType":"python"},{"version":"3.14.0","lessThan":"3.14.4","status":"affected","versionType":"python"},{"version":"3.15.0a1","lessThan":"3.15.0a8","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-434","CWE-74","CWE-20"],"aliases":["PSF-2026-10"],"references":[{"url":"https://github.com/python/cpython/pull/143934","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/python/cpython/issues/141707","tags":["issue-tracking","Issue Tracking","report"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory"]},{"url":"https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8ab","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084","tags":["patch","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13462.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13462","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00183,"epssPercentile":0.07958,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-13462","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13462","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-13462","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-13462","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}