Home / Larry Wall / Perl / CVE-2007-5116
CVE-2007-5116: is it exploited, and which versions of Larry Wall Perl are affected and fixed?
CVE-2007-5116 is a memory corruption (buffer overflow) vulnerability in Larry Wall 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, 06:38 UTC). Affected: perl 5.8.0, perl 5.8.1, perl 5.8.3 and 11 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-5116?
Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attackers to execute arbitrary code by switching from byte to Unicode (UTF) characters in a regular expression.
From the CVE record by mitre, last updated August 7, 2024, 15:17 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| larry wall | perl | 5.8.0 | application |
| larry wall | perl | 5.8.1 | application |
| larry wall | perl | 5.8.3 | application |
| larry wall | perl | 5.8.4 | application |
| larry wall | perl | 5.8.4.1 | application |
| larry wall | perl | 5.8.4.2 | application |
| larry wall | perl | 5.8.4.2.3 | application |
| larry wall | perl | 5.8.4.3 | application |
| larry wall | perl | 5.8.4.4 | application |
| larry wall | perl | 5.8.4.5 | application |
| larry wall | perl | 5.8.6 | application |
| mandrakesoft | mandrake multi network firewall | 2.0 | application |
| openpkg | openpkg | current | application |
| redhat | enterprise linux | 1.0 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:45 UTC.
How severe is CVE-2007-5116?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/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-2007-5116 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.83% probability of exploitation activity in the next 30 days, percentile 92.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- 27479 third-party-advisory, x_refsource_SECUNIA
- DSA-1400 vendor-advisory, x_refsource_DEBIAN
- HPSBTU02311 vendor-advisory, x_refsource_HP
- ADV-2007-4238 vdb-entry, x_refsource_VUPEN
- TA07-352A third-party-advisory, x_refsource_CERT
- IZ10244 vendor-advisory, x_refsource_AIXAPAR
- 27936 third-party-advisory, x_refsource_SECUNIA
- 20071110 FLEA-2007-0063-1 perl mailing-list, x_refsource_BUGTRAQ
- 28993 third-party-advisory, x_refsource_SECUNIA
- IZ10220 vendor-advisory, x_refsource_AIXAPAR
- https://issues.rpath.com/browse/RPL-1813 x_refsource_CONFIRM
- 31524 vendor-advisory, x_refsource_SUNALERT
- USN-552-1 vendor-advisory, x_refsource_UBUNTU
- oval:org.mitre.oval:def:10669 vdb-entry, signature, x_refsource_OVAL
- 1018899 vdb-entry, x_refsource_SECTRACK
- ADV-2008-0641 vdb-entry, x_refsource_VUPEN
- 27756 third-party-advisory, x_refsource_SECUNIA
- RHSA-2007:0966 vendor-advisory, x_refsource_REDHAT
- 29074 third-party-advisory, x_refsource_SECUNIA
- 20080108 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages mailing-list, x_refsource_BUGTRAQ
- 27548 third-party-advisory, x_refsource_SECUNIA
- RHSA-2007:1011 vendor-advisory, x_refsource_REDHAT
- [Security-announce] 20080107 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=323571 x_refsource_MISC
- 27546 third-party-advisory, x_refsource_SECUNIA
- GLSA-200711-28 vendor-advisory, x_refsource_GENTOO
- ADV-2007-3724 vdb-entry, x_refsource_VUPEN
- http://support.avaya.com/elmodocs2/security/ASA-2008-014.htm x_refsource_CONFIRM
- OpenPKG-SA-2007.023 vendor-advisory, x_refsource_OPENPKG
- https://bugzilla.redhat.com/show_bug.cgi?id=378131 x_refsource_MISC
- 231524 vendor-advisory, x_refsource_SUNALERT
- 27531 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2007-12-17 vendor-advisory, x_refsource_APPLE
- 27515 third-party-advisory, x_refsource_SECUNIA
- 27570 third-party-advisory, x_refsource_SECUNIA
- http://docs.info.apple.com/article.html?artnum=307179 x_refsource_CONFIRM
- 27613 third-party-advisory, x_refsource_SECUNIA
- 28368 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2007:024 vendor-advisory, x_refsource_SUSE
- 1018985 vendor-advisory, x_refsource_SUNALERT
- MDKSA-2007:207 vendor-advisory, x_refsource_MANDRIVA
- ADV-2007-4255 vdb-entry, x_refsource_VUPEN
- 20071112 FLEA-2007-0069-1 perl mailing-list, x_refsource_BUGTRAQ
- http://www.ipcop.org/index.php?name=News&file=article&sid=41 x_refsource_CONFIRM
- perl-unicode-bo(38270) vdb-entry, x_refsource_XF
- ftp://aix.software.ibm.com/aix/efixes/security/README x_refsource_CONFIRM
- 31208 third-party-advisory, x_refsource_SECUNIA
- 28387 third-party-advisory, x_refsource_SECUNIA
- http://www.vmware.com/security/advisories/VMSA-2008-0001.html x_refsource_CONFIRM
- ADV-2008-0064 vdb-entry, x_refsource_VUPEN
- 28167 third-party-advisory, x_refsource_SECUNIA
- 26350 vdb-entry, x_refsource_BID
- 20080123 UPDATED VMSA-2008-0001.1 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages mailing-list, x_refsource_BUGTRAQ
When was it published, and where is the official record?
- Reserved
- September 27, 2007
- Published
- November 7, 2007, 20:00 UTC
- CVE record updated
- August 7, 2024, 15:17 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:45 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Perl?
- Dec 16, 2005CVE-2005-4278 Larry Wall Perl: n/a
- Aug 4, 2005CVE-2004-2286 Activestate Activeperl: n/a
- Apr 14, 2005CVE-2003-0900 Larry Wall Perl: n/a
- Mar 12, 2005CVE-2005-0448 Larry Wall Perl: n/a
- Feb 7, 2005CVE-2005-0156 Larry Wall Perl: n/a
- Feb 7, 2005CVE-2005-0155 Larry Wall Perl: n/a
- Dec 31, 2004CVE-2004-0452 Larry Wall Perl: n/a
- Oct 20, 2004CVE-2004-0976 Larry Wall Perl: n/a
Questions about CVE-2007-5116
Is CVE-2007-5116 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 4.83% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Larry Wall Perl are affected by CVE-2007-5116?
perl 5.8.0, perl 5.8.1, perl 5.8.3, perl 5.8.4, perl 5.8.4.1, perl 5.8.4.2 and 8 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-5116?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-5116?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-5116?
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.