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.

Published: 2007-11-07 Last update: 2026-04-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-5116 is rated Moderate Risk (59.7/100): CVSS High severity, with high exploitation likelihood (EPSS 8.80%, 92th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2007-5116

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-15 11.41% 8.80% -2.61%
2 2025-03-30 17.95% 11.41% -6.54%
3 2025-03-29 17.95%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-5116

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2007-5116

OS Trackers for CVE-2007-5116

vendor priority summary link
debian medium CVE-2007-5116 medium priority: Debian including 1 source packages (perl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2007-5116
gentoo normal CVE-2007-5116: 2 GLSA(s) (200711-28, 201412-11), 2 atom(s) (app-emulation/emul-linux-x86-baselibs, dev-lang/perl); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2007-5116
redhat high https://access.redhat.com/security/cve/CVE-2007-5116
suse high CVE-2007-5116 severity important: SUSE including 37 source package names (perl-32bit-5.10.0-64.47.8, perl-32bit-5.10.0-64.55.1, …), 37 product×package rows across 9 product lines (SUSE Linux Enterprise Server 11 SP1, SUSE Linux Enterprise Server 11 SP2, … (9 product lines)): Fixed 37. https://www.suse.com/security/cve/CVE-2007-5116/
ubuntu medium CVE-2007-5116 medium priority: Ubuntu including 1 source packages (perl), 5 status rows across 5 suites (dapper, edgy, feisty, gutsy, upstream): released 5. https://ubuntu.com/security/CVE-2007-5116

Affected software / configurations for CVE-2007-5116

Vendor Product Version Raw CPE
larry_wall perl 5.8.0 cpe:2.3:a:larry_wall:perl:5.8.0:*:*:*:*:*:*:*
larry_wall perl 5.8.1 cpe:2.3:a:larry_wall:perl:5.8.1:*:*:*:*:*:*:*
larry_wall perl 5.8.3 cpe:2.3:a:larry_wall:perl:5.8.3:*:*:*:*:*:*:*
larry_wall perl 5.8.4 cpe:2.3:a:larry_wall:perl:5.8.4:*:*:*:*:*:*:*
larry_wall perl 5.8.4.1 cpe:2.3:a:larry_wall:perl:5.8.4.1:*:*:*:*:*:*:*
larry_wall perl 5.8.4.2 cpe:2.3:a:larry_wall:perl:5.8.4.2:*:*:*:*:*:*:*
larry_wall perl 5.8.4.2.3 cpe:2.3:a:larry_wall:perl:5.8.4.2.3:*:*:*:*:*:*:*
larry_wall perl 5.8.4.3 cpe:2.3:a:larry_wall:perl:5.8.4.3:*:*:*:*:*:*:*
larry_wall perl 5.8.4.4 cpe:2.3:a:larry_wall:perl:5.8.4.4:*:*:*:*:*:*:*
larry_wall perl 5.8.4.5 cpe:2.3:a:larry_wall:perl:5.8.4.5:*:*:*:*:*:*:*
larry_wall perl 5.8.6 cpe:2.3:a:larry_wall:perl:5.8.6:*:*:*:*:*:*:*
mandrakesoft mandrake_multi_network_firewall 2.0 cpe:2.3:a:mandrakesoft:mandrake_multi_network_firewall:2.0:*:*:*:*:*:*:*
openpkg openpkg current cpe:2.3:a:openpkg:openpkg:current:*:*:*:*:*:*:*
redhat enterprise_linux 1.0 cpe:2.3:o:redhat:enterprise_linux:1.0:*:application_stack:*:*:*:*:*

References for CVE-2007-5116

URL Tags
ftp://aix.software.ibm.com/aix/efixes/security/README
http://docs.info.apple.com/article.html?artnum=307179
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
http://lists.vmware.com/pipermail/security-announce/2008/000002.html
http://marc.info/?l=bugtraq&m=120352263023774&w=2
http://secunia.com/advisories/27479
http://secunia.com/advisories/27515
http://secunia.com/advisories/27531 Vendor Advisory
http://secunia.com/advisories/27546
http://secunia.com/advisories/27548
http://secunia.com/advisories/27570
http://secunia.com/advisories/27613
http://secunia.com/advisories/27756
http://secunia.com/advisories/27936
http://secunia.com/advisories/28167
http://secunia.com/advisories/28368
http://secunia.com/advisories/28387
http://secunia.com/advisories/28993
http://secunia.com/advisories/29074
http://secunia.com/advisories/31208
http://securitytracker.com/id?1018899
http://sunsolve.sun.com/search/document.do?assetkey=1-26-31524-1
http://sunsolve.sun.com/search/document.do?assetkey=1-66-231524-1
http://sunsolve.sun.com/search/document.do?assetkey=1-77-1018985.1-1
http://support.avaya.com/elmodocs2/security/ASA-2008-014.htm
http://www-1.ibm.com/support/docview.wss?uid=isg1IZ10220
http://www-1.ibm.com/support/docview.wss?uid=isg1IZ10244
http://www.debian.org/security/2007/dsa-1400
http://www.gentoo.org/security/en/glsa/glsa-200711-28.xml
http://www.ipcop.org/index.php?name=News&file=article&sid=41
http://www.mandriva.com/security/advisories?name=MDKSA-2007:207 Patch
http://www.novell.com/linux/security/advisories/2007_24_sr.html
http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.023.html
http://www.redhat.com/support/errata/RHSA-2007-0966.html
http://www.redhat.com/support/errata/RHSA-2007-1011.html
http://www.securityfocus.com/archive/1/483563/100/0/threaded
http://www.securityfocus.com/archive/1/483584/100/0/threaded
http://www.securityfocus.com/archive/1/485936/100/0/threaded
http://www.securityfocus.com/archive/1/486859/100/0/threaded
http://www.securityfocus.com/bid/26350
http://www.ubuntu.com/usn/usn-552-1
http://www.us-cert.gov/cas/techalerts/TA07-352A.html US Government Resource
http://www.vmware.com/security/advisories/VMSA-2008-0001.html
http://www.vupen.com/english/advisories/2007/3724
http://www.vupen.com/english/advisories/2007/4238
http://www.vupen.com/english/advisories/2007/4255
http://www.vupen.com/english/advisories/2008/0064
http://www.vupen.com/english/advisories/2008/0641
https://bugzilla.redhat.com/show_bug.cgi?id=323571
https://bugzilla.redhat.com/show_bug.cgi?id=378131
https://exchange.xforce.ibmcloud.com/vulnerabilities/38270
https://issues.rpath.com/browse/RPL-1813
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10669
cvelogic Threat Intelligence