Home / Perl / Perl / CVE-2016-2381
CVE-2016-2381: is it exploited, and which versions of Perl are affected and fixed?
CVE-2016-2381 is an improper input validation 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:08 UTC). Affected: perl before 5.23.9, debian linux 7.0, debian linux 8.0 and 16 more (NVD). Fixed in 5.23.9, 12.1.2.0.4 and 18.1.2.1.0 (NVD). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-2381?
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate environment variables in envp.
From the CVE record by mitre, last updated August 5, 2024, 23:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| perl | perl | before 5.23.9 | application |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| oracle | communications billing and revenue management | 7.5 | application |
| oracle | configuration manager | before 12.1.2.0.4 | application |
| oracle | configuration manager | 12.1.2.0.6 | application |
| oracle | database server | 11.2.0.4 | application |
| oracle | database server | 12.1.0.2 | application |
| oracle | database server | 12.2.0.1 | application |
| oracle | database server | 18c | application |
| oracle | database server | 19c | application |
| oracle | enterprise manager base platform | 13.2.0.0.0 | application |
| oracle | enterprise manager base platform | 13.3.0.0.0 | application |
| oracle | timesten in-memory database | before 18.1.2.1.0 | application |
| oracle | solaris | 11.3 | operating system |
| opensuse | opensuse | 13.2 | operating system |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 15.10 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:43 UTC.
How severe is CVE-2016-2381?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | 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-2381 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 9.08% probability of exploitation activity in the next 30 days, percentile 95.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- GLSA-201701-75 vendor-advisory, x_refsource_GENTOO
- DSA-3501 vendor-advisory, x_refsource_DEBIAN
- [porters] 20160301 CVE-2016-2381: duplicate environment variables mailing-list, x_refsource_MLIST
- USN-2916-1 vendor-advisory, x_refsource_UBUNTU
- 83802 vdb-entry, x_refsource_BID
- openSUSE-SU-2016:0881 vendor-advisory, x_refsource_SUSE
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html x_refsource_CONFIRM
- http://perl5.git.perl.org/perl.git/commitdiff/ae37b791a73a9e78dedb89fb2429d2628cf58076 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- February 13, 2016
- Published
- April 8, 2016, 15:00 UTC
- CVE record updated
- August 5, 2024, 23:24 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:43 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:08 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-2381
Is CVE-2016-2381 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 9.08% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Perl are affected by CVE-2016-2381?
perl before 5.23.9, debian linux 7.0, debian linux 8.0, communications billing and revenue management 7.5, configuration manager before 12.1.2.0.4, configuration manager 12.1.2.0.6 and 13 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-2381?
5.23.9, 12.1.2.0.4 and 18.1.2.1.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-2381?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-2381?
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.