High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-6185
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:08 UTC · Revision 1
Source evidence
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.
osv:CVE-2016-6185
Complete source record
{
"id": "f36ade2f9a9c109242183d64a42e78948b18caeba23b60b6582fbb80632ba368",
"url": "https://osv.dev/vulnerability/CVE-2016-6185",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-6185",
"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.",
"evidence": "osv:CVE-2016-6185",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-6185",
"aliases": [
"CVE-2016-6185"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/perl/perl5",
"type": "GIT",
"events": [
{
"introduced": "7c499b7fd47e7232467f4cb7ffd590dc0edf2168"
},
{
"fixed": "443bd156a6baaf7a8fe6b6b05fcf6c4178140ed2"
},
{
"introduced": "2c5484a6fb758fd9bd9f56d504186972d12dd338"
},
{
"fixed": "c137098022dcef5e7ea32608e5299276efea6457"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.23.0"
},
{
"fixed": "5.24.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.25.0"
},
{
"fixed": "5.25.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.24.1-RC5",
"v5.24.1-RC4",
"v5.24.1-RC3",
"v5.24.1-RC2",
"v5.24.1-RC1",
"v5.24.0",
"v5.25.2",
"v5.25.0",
"v5.24.0-RC5",
"v5.24.0-RC4",
"v5.24.0-RC3",
"v5.24.0-RC2",
"v5.24.0-RC1",
"v5.23.7",
"v5.23.6",
"v5.23.4",
"v5.23.3",
"if-0.0605",
"v5.23.2",
"v5.23.1",
"v5.23.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6185.json"
}
}
],
"modified": "2026-10-24T10:31:03.348739410Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5RFDMASVZLFZYBB2GNTZXU6I76E4NA4V/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITYZJXQH24X2F2LAOQEQAC5KXLYJTJ76/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRIPTDA6XINBVEJXI2NGLKVEINBREHTN/",
"https://security.gentoo.org/glsa/201701-75",
"https://usn.ubuntu.com/3625-1/",
"https://usn.ubuntu.com/3625-2/",
"https://rt.cpan.org/Public/Bug/Display.html?id=115808"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "12.04"
},
{
"last_affected": "12.04"
},
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "17.10"
},
{
"last_affected": "17.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "22"
},
{
"last_affected": "22"
},
{
"introduced": "23"
},
{
"last_affected": "23"
},
{
"introduced": "24"
},
{
"last_affected": "24"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:oracle:solaris:10:*:*:*:*:*:*:*",
"cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:solaris",
"extracted_events": [
{
"range": [
{
"introduced": "10"
},
{
"last_affected": "10"
},
{
"introduced": "11.3"
},
{
"last_affected": "11.3"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2016-6185",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440240,
"published_at": "2016-08-02T14:59:02.943+00:00"
}