Security Advisories (1)
CVE-2026-9538 (2026-05-26)

Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header. _read_tar() reads each entry's payload with $handle->read($$data, $block), where $block is derived from the entry's 12-byte size field in the tar header with no upper bound on that value. A crafted header declaring a multi-gigabyte size causes Perl to allocate a scalar of that size.

Changes for version 3.08

  • Validate symlink and hardlink linkname in SECURE MODE

Documentation

a tar-like program written in perl
program that diffs an extracted archive against an unextracted one
Apply pattern matching to the contents of files in a tar archive

Modules

module for manipulations of tar archives
a subclass for in-memory extracted file from Archive::Tar

Provides

in lib/Archive/Tar/Constant.pm