← All Advisories
Reported from OT-Advisories.com as of

Perl's Archive::Tar Extracts Symlinks to Attacker-Chosen Paths Outside the Extraction Directory, Bypassing Its Own Secure-Extract Check

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-42496

Key Details

CVECVE-2026-42496
CVSS Score / Version
9.1 (Critical) / CVSS v3.1
Updated2026-11-10
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is none.
Affected products
see table below
Classified as
CWE-59 (Improper Link Resolution Before File Access ('Link Following'))
Exploitation prediction (EPSS)
0.50% probability of exploitation in the next 30 days (44% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
archive\\
BINGOSArchive::Tar
SubsystemsControllers & Field I/O, OT Supporting Infrastructure
SectorsMultiple

What to Know

Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory.

_make_special_file() passes the tar header's linkname to symlink() without validating it against absolute paths or .. segments. The secure-extract mode check that guards regular file extraction does not cover the symlink target.

A subsequent open through the extracted name reads or writes the attacker chosen path. (NVD)

What to Do

Currently no fix is available
Source: Siemens SSA-457936

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-42496
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-42496
Vendor advisoryhttps://cert-portal.siemens.com/productcert/html/ssa-457936.html
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.