In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.
- Published
- Jun 7, 2018
- Updated
- Jun 16, 2026
- EPSS
- 7.3% · 94th percentile
- CWE
- CWE-59
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| perl | perl | cpe:2.3:a:perl:perl |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| archive\ | \ | cpe:2.3:a:archive\:\ |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| netapp | data ontap edge | cpe:2.3:a:netapp:data_ontap_edge |
| netapp | oncommand workflow automation | cpe:2.3:a:netapp:oncommand_workflow_automation |
| netapp | snap creator framework | cpe:2.3:a:netapp:snap_creator_framework |
| netapp | snapdrive | cpe:2.3:a:netapp:snapdrive |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple mac os xbefore 10.14.4
- archive::tar project archive::tarup to 2.28 inclusive
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.10
- canonical ubuntu linux18.04
- debian debian linux8.0
- debian debian linux9.0
- netapp data ontap edgeall versions
- netapp oncommand workflow automationall versions
- netapp snap creator frameworkall versions
- netapp snapdriveall versions
- perl perlup to 5.26.2 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | perl | before 5.26.2-r1 | 5.26.2-r1 |
| Alpine:v3.5 | perl | before 5.24.4-r1 | 5.24.4-r1 |
| Debian:12 | perl | before 5.26.2-6 | 5.26.2-6 |
| Debian:8 | perl | before 5.20.2-3+deb8u11 | 5.20.2-3+deb8u11 |
| Debian:9 | perl | before 5.24.1-3+deb9u4 | 5.24.1-3+deb9u4 |
| Red Hat:enterprise_linux:7::client | perl-Archive-Tar | before 0:1.92-3.el7 | 0:1.92-3.el7 |
| Red Hat:hummingbird:1 | perl | before 0:5.42.2-524.1.hum1 | 0:5.42.2-524.1.hum1 |
| Red Hat:hummingbird:1 | perl-Attribute-Handlers | before 0:1.03-524.1.hum1 | 0:1.03-524.1.hum1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | perl | before 5.26.1-7.3.1 | 5.26.1-7.3.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | perl | before 5.10.0-64.81.13.1 | 5.10.0-64.81.13.1 |
| SUSE:OpenStack Cloud 7 | perl | before 5.18.2-12.14.1 | 5.18.2-12.14.1 |
Same product
perl: all recordsOther highest-scoring records for the same primary product.
- CVE-2012-6329The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and f49Plan
- CVE-2018-18311Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
- CVE-2018-18312Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
- CVE-2018-6913Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a lar42Plan
- CVE-2018-18314Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.41Plan
- CVE-2018-6797An issue was discovered in Perl 5.18 through 5.26.41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:perl | 5.26.2-r1 · Alpine:v3.10 | Package registry (OSV) |
| debian:perl | 5.26.2-6 · Debian:12 | Package registry (OSV) |
| red hat:perl | 0:5.42.2-524.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-Archive-Tar | 0:1.92-3.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-Attribute-Handlers | 0:1.03-524.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| suse:perl | 5.18.2-12.14.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- seclists.org/fulldisclosure/2019/Mar/49
- www.securityfocus.com/bid/104423
- www.securitytracker.com/id/1041048
- access.redhat.com/errata/RHSA-2019:2097
- seclists.org/bugtraq/2019/Mar/42
- security.netapp.com/advisory/ntap-20180927-0001/
- support.apple.com/kb/HT209600
- usn.ubuntu.com/3684-1/
- usn.ubuntu.com/3684-2/
- www.debian.org/security/2018/dsa-4226
- www.oracle.com/security-alerts/cpujul2020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.