← Vulnerability feed

Vulnerability record · CVE-2007-5116 · published 7 November 2007

CVE-2007-5116: Larry wall perl memory buffer overflow vulnerability

LLarry Wall · Perl

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.

7.5 CVSS 2.0 High EPSS 4.8% · top 8.3% CWE-119 · Memory buffer overflow
7.5CVSS 2.0 base score
4.8%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
106References
16 Jun 2026Last modified by NVD

Description

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.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
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

Track CVE-2007-5116 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2018-14667RichFaces Framework EL injection enables unauthenticated remote code executionRichFaces Framework 3.X through 3.3.4 is vulnerable to Expression Language injection through the UserResource resource. A remote, unauthenticated att…KEVEPSS 74%analysed9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed9.8CVE-2014-6271GNU Bash environment variable command injection (ShellShock)GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bas…KEVEPSS 100%analysed9.0CVE-2021-40438Apache HTTP Server mod_proxy SSRF via crafted URI pathA crafted request URI path can make mod_proxy forward the request to an origin server chosen by the remote user, an SSRF flaw in Apache HTTP Server 2…KEVEPSS 100%analysed8.8CVE-2025-31277Apple WebKit memory corruption via malicious web contentApple WebKit fails to handle memory correctly when processing crafted web content, leading to memory corruption across Safari, iOS, iPadOS, macOS, tv…KEVEPSS 1.6%analysed8.8CVE-2023-5217libvpx VP8 encoding heap buffer overflow exploited via crafted HTMLA heap buffer overflow in the VP8 encoder in libvpx affects Google Chrome before 117.0.5938.132 and libvpx 1.13.1, and is reachable through a crafted…KEVEPSS 49%analysed8.8CVE-2023-32373Apple WebKit use-after-free enables code execution via web contentA use-after-free flaw in Apple's WebKit engine was fixed across watchOS, tvOS, macOS, iOS, iPadOS and Safari. Processing maliciously crafted web cont…KEVEPSS 12%analysed

Source: NIST National Vulnerability Database (record CVE-2007-5116), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.