Skip to main content
No exploitation reportedFix available

CVE-2018-12015

No exploitation reported by the sources we read.

  • Published2018-06-07
  • WeaknessCWE-59

Am I 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
  1. 2018-06-0713:29CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block 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
Perl
BranchAffectedFixed in
5.26≤ 5.26.2no fix published
Canonical ubuntu linux
BranchAffectedFixed in
12.4= 12.04no fix published
14.4= 14.04no fix published
16.4= 16.04no fix published
17.10= 17.10no fix published
18.4= 18.04no fix published
Debian debian linux
BranchAffectedFixed in
8.0= 8.0no fix published
9.0= 9.0no fix published

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

  • CVE-2018-12015 Red Hat Product Security12 products fixed · 51 known affected

    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

  • RHSA-2026:7604 Red Hat Product Security203 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2019:2097 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: perl-Archive-Tar security update

Full record on NVD

Fix

  1. 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/
  2. 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
  3. No fix planned, says the vendor Red Hat Product Security CVE-2018-12015 · 1 productOut of support scope
  4. No fix planned, says the vendor Red Hat Product Security CVE-2018-12015 · 50 productsWill not fix

Advisories and patches

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

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?

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.

Is CVE-2018-12015 actively exploited?

Active exploitation of CVE-2018-12015 has not been confirmed. Its EPSS score was 7.3% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-12015?

CVE-2018-12015 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

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

Sources for this record