CVE-2016-1238
No exploitation reported by the sources we read.
- Published2016-08-02
- WeaknessCWE-264
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
(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- 2016-08-0214:59CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.0 | = 1.0.15 | no fix published | NVD |
| 1.0 | = 1.0.16 | no fix published | NVD |
| 5.0 | = 5.000 | no fix published | NVD |
| 5.0 | = 5.000o | no fix published | NVD |
| 5.1 | = 5.001 | no fix published | NVD |
| 5.1 | = 5.001n | no fix published | NVD |
| 5.2 | = 5.002 | no fix published | NVD |
| 5.2 | = 5.002_01 | no fix published | NVD |
| 5.3 | = 5.003 | no fix published | NVD |
| 5.3 | = 5.003_01 | no fix published | NVD |
| 5.3 | = 5.003_02 | no fix published | NVD |
| 5.3 | = 5.003_03 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 23.x | = 23 | no fix published | NVD |
| 24.x | = 24 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.4 | < 3.4.2 | 3.4.2 | NVD |
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
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
Fix
- 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…
- 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
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.8read 2026-10-23
- NVDCVSS 2.07.2read 2026-10-23
- NVDweakness (CWE)CWE-264read 2026-10-23
- FIRST EPSSEPSS score0.8 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2016-2339same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-hm5v-6984-hfqpsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-1578-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-565-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-584-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-3628-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2018-0047advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2018-0425advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2019:1831-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10860-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11162-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11163-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11706-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:14657-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2016:2246-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2016:2263-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:0505-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:1961-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:2011-1advisory covering several CVEsSUSE · LicenseRef-unstated
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?
Is CVE-2016-1238 actively exploited?
What is the CVSS score for CVE-2016-1238?
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
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)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-hm5v-6984-hfqp
- 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