VDB

CVE-2025-13462

CVE-2025-13462 PUBLISHED CVSS 2 LOW

tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling

Reported by psf · Published March 12, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python-testAmazon Linux2.7.18-1.amzn2.0.18
python-minBitnami3.15.0
python3.14-idleAmazon Linux3.14.5-1.amzn2023.0.1
python-3.10Wolfi3.10.21-r6
python3Amazon Linux3.9.25-1.amzn2023.0.7, 3.7.16-1.amzn2.0.25
python3.14-freethreading-debugAmazon Linux3.14.5-1.amzn2023.0.1
python3.14-debugAmazon Linux3.14.5-1.amzn2023.0.1
python3.11Amazon Linux3.11.15-1.amzn2023.0.3
python-3.11Chainguard3.11.15-r9
python3-testAmazon Linux3.9.25-1.amzn2023.0.7, 3.7.16-1.amzn2.0.25
python3-develAmazon Linux3.9.25-1.amzn2023.0.7, 3.7.16-1.amzn2.0.25
python3.13-testAmazon Linux3.13.14-1.amzn2023.0.2

68 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
2
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

Affected products

VendorProductVersions
Python Software FoundationCPython0, 3.11.0, 3.12.0
Python Software FoundationCPython0, 3.11.0, 3.12.0

Timeline

  • Mar 12, 2026 CVE Published
  • Mar 12, 2026 PoC Published (4 in total, the first dated here)
  • Mar 13, 2026 EPSS Score (30 in total, the first dated here)
  • Apr 14, 2026 Security Advisory (9 in total, the first dated here)
  • Jun 23, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-13462
vulnetix vdb fixes CVE-2025-13462

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-13462/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • patch
  • issue-tracking
  • vendor-advisory
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›