CVE-2018-12015
No exploitation reported by the sources we read.
- Published2018-06-07
- WeaknessCWE-59
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2018-06-0713:29CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-04 03:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-12015?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-12015?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.26 | ≤ 5.26.2 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.4 | = 12.04 | no fix published | NVD |
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 17.10 | = 17.10 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
6 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- perlUbuntu:18.04:LTSall versions · fixed in 5.26.1-6ubuntu0.1
- perlUbuntu:16.04:LTSall versions · fixed in 5.22.1-9ubuntu0.5
- perlUbuntu:14.04:LTSall versions · fixed in 5.18.2-2ubuntu1.6
- perlTuxCare:OracleLinux:6all versions · fixed in 4:5.10.1-146.el6.tuxcare.els7and 3 other packages
- perlTuxCare:CentOS:6all versions · fixed in 4:5.10.1-146.el6.tuxcare.els7and 3 other packages
- perlSUSE:OpenStack Cloud 7all versions · fixed in 5.18.2-12.14.1
- perlSUSE:Linux Enterprise Software Development Kit 11 SP4all versions · fixed in 5.10.0-64.81.13.1
- perlSUSE:Linux Enterprise Server for SAP Applications 12 SP3all versions · fixed in 5.18.2-12.14.1
184 more package ranges on OSV.dev
Vendor advisories
perl: Directory traversal in Archive::Tar
perl-Archive-Tar.src as a component of Red Hat Enterprise Linux 5 · perl as a component of Red Hat Enterprise Linux 6 · perl-Archive-Extract as a component of Red Hat Enterprise Linux 6 · +48 more
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: perl-Archive-Tar security update
Fix
- Vendor fix Red Hat Product Security RHSA-2026:7604 · 203 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Vendor fix Red Hat Product Security RHSA-2019:2097 · 8 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix planned, says the vendor Red Hat Product Security CVE-2018-12015 · 1 productOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2018-12015 · 50 productsWill not fix
Advisories and patches
- security.netapp.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.07.5read 2026-10-23
- NVDCVSS 2.06.4read 2026-10-23
- NVDweakness (CWE)CWE-59read 2026-10-23
- FIRST EPSSEPSS score7.3 %2026-11-03
- OSVaffected packages—
Identifiers
- EUVD-2018-4007same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- DSA-4226-1advisory covering several CVEsDebian · LicenseRef-unstated
- RHSA-2019:2097advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:7604advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:1972-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:1972-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:1977-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:1992-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3684-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Published
- 2018-06-07
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2018-12015?
Is CVE-2018-12015 actively exploited?
What is the CVSS score for CVE-2018-12015?
Running Perl? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0