Skip to main content
No exploitation reportedFix available

CVE-2016-1238

No exploitation reported by the sources we read.

  • Published2016-08-02
  • WeaknessCWE-264

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

(1) cpan/Archive-Tar/bin/ptar, (2) cpan/Archive-Tar/bin/ptardiff, (3) cpan/Archive-Tar/bin/ptargrep, (4) cpan/CPAN/scripts/cpan, (5) cpan/Digest-SHA/shasum, (6) cpan/Encode/bin/enc2xs, (7) cpan/Encode/bin/encguess, (8) cpan/Encode/bin/piconv, (9) cpan/Encode/bin/ucmlint, (10) cpan/Encode/bin/unidump, (11) cpan/ExtUtils-MakeMaker/bin/instmodsh, (12) cpan/IO-Compress/bin/zipdetails, (13) cpan/JSON-PP/bin/json_pp, (14) cpan/Test-Harness/bin/prove, (15) dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp, (16) dist/Module-CoreList/corelist, (17) ext/Pod-Html/bin/pod2html, (18) utils/c2ph.PL, (19) utils/h2ph.PL, (20) utils/h2xs.PL, (21) utils/libnetcfg.PL, (22) utils/perlbug.PL, (23) utils/perldoc.PL, (24) utils/perlivp.PL, and (25) utils/splain.PL in Perl 5.x before 5.22.3-RC2 and 5.24 before 5.24.1-RC2 do not properly remove . (period) characters from the end of the includes directory array, which might allow local users to gain privileges via a Trojan horse module under the current working directory.

Timeline

dates in UTC
  1. 2016-08-0214:59CVE publishedNVD

Versions per branch

NVD
Perl
BranchAffectedFixed in
1.0= 1.0.15no fix published
1.0= 1.0.16no fix published
5.0= 5.000no fix published
5.0= 5.000ono fix published
5.1= 5.001no fix published
5.1= 5.001nno fix published
5.2= 5.002no fix published
5.2= 5.002_01no fix published
5.3= 5.003no fix published
5.3= 5.003_01no fix published
5.3= 5.003_02no fix published
5.3= 5.003_03no fix published
Fedoraproject fedora
BranchAffectedFixed in
23.x= 23no fix published
24.x= 24no fix published
Apache spamassassin
BranchAffectedFixed in
3.4< 3.4.23.4.2

2 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

  • amavisd-newSUSE:Linux Enterprise Module for Basesystem 15all versions · fixed in 2.11.1-6.3.1
  • ikiwikiopenSUSE:Tumbleweedall versions · fixed in 3.20200202.3-2.7
  • libsys-syslog-perlUbuntu:14.04:LTSall versions · fixed in 0.33-1+deb8u1build0.14.04.1
  • libsys-syslog-perlDebian:7all versions · fixed in 0.29-1+deb7u1
  • perlUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • perlUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • perlSUSE:Linux Enterprise Software Development Kit 11 SP4all versions · fixed in 5.10.0-64.80.1
  • perlSUSE:Linux Enterprise Server for SAP Applications 12 SP1all versions · fixed in 5.18.2-11.1

53 more package ranges on OSV.dev

Vendor advisories

  • CVE-2016-1238 Red Hat Product Security156 known affected

    perl: loading of modules from current directory

    perl.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 · +153 more

Full record on NVD

Fix

  1. Workaround from the vendor Red Hat Product Security CVE-2016-1238 · 156 productsThe following examples will remove '.' from the module path : RHEL6 and above : Create a file /usr/local/share/perl5/sitecustomize.pl containing the line "pop @INC if $INC[-1] eq '.';" RHEL5: Create a perl module with the same code in a BEGIN block, and use the 'PERL5OPT=-m<module-name>' environm…
  2. No fix planned, says the vendor Red Hat Product Security CVE-2016-1238 · 156 productsWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2016-08-02
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-hm5v-6984-hfqp

Frequently asked questions

What is CVE-2016-1238?

(1) cpan/Archive-Tar/bin/ptar, (2) cpan/Archive-Tar/bin/ptardiff, (3) cpan/Archive-Tar/bin/ptargrep, (4) cpan/CPAN/scripts/cpan, (5) cpan/Digest-SHA/shasum, (6) cpan/Encode/bin/enc2xs, (7) cpan/Encode/bin/encguess, (8) cpan/Encode/bin/piconv, (9) cpan/Encode/bin/ucmlint, (10) cpan/Encode/bin/unidump, (11) cpan/ExtUtils-MakeMaker/bin/instmodsh, (12) cpan/IO-Compress/bin/zipdetails, (13) cpan/JSON-PP/bin/json_pp, (14) cpan/Test-Harness/bin/prove, (15) dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp, (16) dist/Module-CoreList/corelist, (17) ext/Pod-Html/bin/pod2html, (18) utils/c2ph.PL, (19) utils/h2ph.PL, (20) utils/h2xs.PL, (21) utils/libnetcfg.PL, (22) utils/perlbug.PL, (23) utils/perldoc.PL, (24) utils/perlivp.PL, and (25) utils/splain.PL in Perl 5.x before 5.22.3-RC2 and 5.24 before 5.24.1-RC2 do not properly remove . (period) characters from the end of the includes directory array, which might allow local users to gain privileges via a Trojan horse module under the current working directory.

Is CVE-2016-1238 actively exploited?

Active exploitation of CVE-2016-1238 has not been confirmed. Its EPSS score was 0.8% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2016-1238?

CVE-2016-1238 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

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 checks · 250 API requests/month

Sources for this record