CVE-2016-6185 json
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which might allow local user…
published 2016-08-02 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7119
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which might allow local users to execute arbitrary code via a Trojan horse library under the current working directory.
Patch / fix
- perl perl 5.24.1, 5.25.3
- perl Debian 14, Debian 13, Debian 12 5.22.2-2
debian advisories DEBIAN-CVE-2016-6185
- perl Ubuntu 14.04 LTS 5.18.2-2ubuntu1.4
- perl Ubuntu 16.04 LTS 5.22.1-9ubuntu0.3
ubuntu advisories UBUNTU-CVE-2016-6185
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perl SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 5.18.2-11.1
- perl SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.10.0-64.80.1
suse advisories SUSE-SU-2016:2263-1SUSE-SU-2016:2246-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-6185 updated cvss 7.3
perl: XSLoader loads relative paths not included in @INC
-
Red Hat Enterprise Linux 5 perl Red Hat Enterprise Linux 6 perl, perl-CGI, perl-core, perl-CPAN, perl-libs, perl-parent, +39 more Red Hat Enterprise Linux 7 perl, perl-core, perl-CPAN, perl-libs, perl-tests, perl-macros, +11 more Red Hat Software Collections rh-perl520-perl, rh-perl524-perl, rh-perl524-perl-IO, rh-perl520-perl-core, rh-perl520-perl-libs, rh-perl524-perl-core, +34 moreaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- rt.cpan.org https://rt.cpan.org/Public/Bug/Display.html?id=115808 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
References
-
rt.cpan.org
/Public/Bug/Display.html?id=115808
exploit, issue-tracking, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PRIPTDA6XINBVEJXI2NGLKVEINBREHTN/
vendor-advisory
-
security.gentoo.org
/glsa/201701-75
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3625-2/
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ITYZJXQH24X2F2LAOQEQAC5KXLYJTJ76/
vendor-advisory
-
debian.org
/security/2016/dsa-3628
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/5RFDMASVZLFZYBB2GNTZXU6I76E4NA4V/
vendor-advisory
-
usn.ubuntu.com
/3625-1/
vendor-advisory, third-party-advisory
-
perl5.git.perl.org
/perl.git/commitdiff/08e3451d7
issue-tracking, vendor-advisory
-
securitytracker.com
/id/1036260
vdb-entry, third-party-advisory
-
oracle.com
/technetwork/topics/security/bulletinjul2016-3090568.html
third-party-advisory
-
securityfocus.com
/bid/91685
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2016/07/07/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2016/07/08/5
mailing-list, third-party-advisory
Sources
- CVE List CVE-2016-6185
- NVD CVE-2016-6185
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.