tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
At a glance
Severity
LOW 2.0
EPSS
EPSS 0.17 % · percentile 6 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
PSF
NVD status
Analyzed
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.