Home / Perl / Perl / CVE-2016-6185
CVE-2016-6185: is it exploited, and which versions of Perl are affected and fixed?
CVE-2016-6185 is a vulnerability in Perl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: perl from 5.23.0 before 5.24.1, perl from 5.25.0 before 5.25.3, fedora 22 and 9 more (NVD). Fixed in 5.24.1 and 5.25.3 (NVD). Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-6185?
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.
From the CVE record by debian, last updated August 6, 2024, 01:22 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| perl | perl | from 5.23.0 before 5.24.1 | application |
| perl | perl | from 5.25.0 before 5.25.3 | application |
| fedoraproject | fedora | 22 | operating system |
| fedoraproject | fedora | 23 | operating system |
| fedoraproject | fedora | 24 | operating system |
| debian | debian linux | 8.0 | operating system |
| oracle | solaris | 10 | operating system |
| oracle | solaris | 11.3 | operating system |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 17.10 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:50 UTC.
How severe is CVE-2016-6185?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-6185 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.79% probability of exploitation activity in the next 30 days, percentile 57.6 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- FEDORA-2016-eb2592245b vendor-advisory, x_refsource_FEDORA
- GLSA-201701-75 vendor-advisory, x_refsource_GENTOO
- USN-3625-2 vendor-advisory, x_refsource_UBUNTU
- FEDORA-2016-485dff6060 vendor-advisory, x_refsource_FEDORA
- 1036260 vdb-entry, x_refsource_SECTRACK
- DSA-3628 vendor-advisory, x_refsource_DEBIAN
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html x_refsource_CONFIRM
- http://perl5.git.perl.org/perl.git/commitdiff/08e3451d7 x_refsource_CONFIRM
- 91685 vdb-entry, x_refsource_BID
- [oss-security] 20160707 CVE Request: perl: XSLoader: could load shared library from incorrect location mailing-list, x_refsource_MLIST
- FEDORA-2016-742bde2be7 vendor-advisory, x_refsource_FEDORA
- [oss-security] 20160708 Re: CVE Request: perl: XSLoader: could load shared library from incorrect location mailing-list, x_refsource_MLIST
- USN-3625-1 vendor-advisory, x_refsource_UBUNTU
- https://rt.cpan.org/Public/Bug/Display.html?id=115808 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 8, 2016
- Published
- August 2, 2016, 14:00 UTC
- CVE record updated
- August 6, 2024, 01:22 UTC by debian
- NVD
- Modified, last modified June 17, 2026, 00:50 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Perl?
- Jul 13, 2026CVE-2026-13221 Perl: integer overflow
- Jul 13, 2026CVE-2026-57432 Perl: integer overflow
- May 25, 2026CVE-2026-8376 Perl: integer overflow to buffer overflow
- May 30, 2025CVE-2025-40909 perl: permission Race Condition During Resource Copy
- Apr 13, 2025CVE-2024-56406 perl: heap buffer overflow
- Aug 22, 2023CVE-2022-48522 Perl: out-of-bounds write (memory corruption)
- Apr 28, 2023CVE-2023-31486 Perl: improper certificate validation
- Apr 28, 2023CVE-2023-31484 Cpanpm Project Cpanpm: improper certificate validation
Questions about CVE-2016-6185
Is CVE-2016-6185 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 0.79% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Perl are affected by CVE-2016-6185?
perl from 5.23.0 before 5.24.1, perl from 5.25.0 before 5.25.3, fedora 22, fedora 23, fedora 24, debian linux 8.0 and 6 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-6185?
5.24.1 and 5.25.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-6185?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-6185?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.