Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-89136.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-89136
Upstream
Published
2026-05-26T02:16:40Z
Modified
2026-08-30T05:26:50Z
Summary
CVE-2026-42497 affecting package perl for versions less than 5.38.2-510
Details

Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory.

makespecial_file() passes the tar header's linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode.

A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in extractfile() (guarded only against symlinks via -l) applies the tar header's mode, owner, and timestamps to the shared inode during extraction alone.

References

Affected packages

Azure Linux:3 / perl

Package

Name
perl
Purl
pkg:rpm/azure-linux/perl

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.38.2-510

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-89136.json"