CVE-2007-5116 json
Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attacke…
published 2007-11-07 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-5097
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.8%
- EPSS 4.8% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- perl Debian 14, Debian 13, Debian 12 5.8.8-12
debian advisories DEBIAN-CVE-2007-5116
- ant certificate system 7.3 1.6.5-1jpp_1rh
- axis certificate system 7.3 1.2.1-1jpp_3rh
- mx4j certificate system 7.3 1:3.0.1-1jpp_4rh
- log4j certificate system 7.3 1.2.12-1jpp_1rh
- tomcat5 certificate system 7.3 5.5.23-0jpp_4rh.16
- rhpki-ca certificate system 7.3 7.3.0-20.el4
- pcsc-lite certificate system 7.3 1.3.3-3.el4
- rhpki-kra certificate system 7.3 7.3.0-14.el4
red hat advisories RHSA-2010:0602RHSA-2007:1011RHSA-2007:0966
- perl openSUSE Tumbleweed 5.34.0-1.1
opensuse advisories openSUSE-SU-2024:11158-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-5116 updated
perl regular expression UTF parsing errors
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) perl 5.8.8-5.el4s1_2, perl-suidperl 5.8.8-5.el4s1_2 Red Hat Application Stack v1 for Enterprise Linux ES (v.4) perl 5.8.8-5.el4s1_2, perl-suidperl 5.8.8-5.el4s1_2fixed: vendor fix RHSA-2007:1011
-
Red Hat Certificate System 7.3 for 4AS ant 1.6.5-1jpp_1rh, axis 1.2.1-1jpp_3rh, mx4j 3.0.1-1jpp_4rh, log4j 1.2.12-1jpp_1rh, pcsc-lite 1.3.3-3.el4, rhpki-ca 7.3.0-20.el4, +31 more Red Hat Certificate System 7.3 for 4ES ant 1.6.5-1jpp_1rh, axis 1.2.1-1jpp_3rh, mx4j 3.0.1-1jpp_4rh, log4j 1.2.12-1jpp_1rh, pcsc-lite 1.3.3-3.el4, rhpki-ca 7.3.0-20.el4, +31 morefixed: vendor fix RHSA-2010:0602
-
Red Hat Desktop version 3 perl 5.8.0-97.EL3, perl-CGI 2.89-97.EL3, perl-CPAN 1.61-97.EL3, perl-DB_File 1.806-97.EL3, perl-suidperl 5.8.0-97.EL3 Red Hat Enterprise Linux (v. 5 server) perl 5.8.8-10.el5_0.2, perl-suidperl 5.8.8-10.el5_0.2 Red Hat Enterprise Linux AS version 3 perl 5.8.0-97.EL3, perl-CGI 2.89-97.EL3, perl-CPAN 1.61-97.EL3, perl-DB_File 1.806-97.EL3, perl-suidperl 5.8.0-97.EL3 Red Hat Enterprise Linux AS version 4 perl 5.8.5-36.el4_5.2, perl-suidperl 5.8.5-36.el4_5.2 Red Hat Enterprise Linux Desktop (v. 5 client) perl 5.8.8-10.el5_0.2, perl-suidperl 5.8.8-10.el5_0.2 Red Hat Enterprise Linux Desktop version 4 perl 5.8.5-36.el4_5.2, perl-suidperl 5.8.5-36.el4_5.2fixed: vendor fix RHSA-2007:0966
+4 more productsfewer
Red Hat Enterprise Linux ES version 3 perl 5.8.0-97.EL3, perl-CGI 2.89-97.EL3, perl-CPAN 1.61-97.EL3, perl-DB_File 1.806-97.EL3, perl-suidperl 5.8.0-97.EL3 Red Hat Enterprise Linux ES version 4 perl 5.8.5-36.el4_5.2, perl-suidperl 5.8.5-36.el4_5.2 Red Hat Enterprise Linux WS version 3 perl 5.8.0-97.EL3, perl-CGI 2.89-97.EL3, perl-CPAN 1.61-97.EL3, perl-DB_File 1.806-97.EL3, perl-suidperl 5.8.0-97.EL3 Red Hat Enterprise Linux WS version 4 perl 5.8.5-36.el4_5.2, perl-suidperl 5.8.5-36.el4_5.2
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.83% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
mandriva.com
/security/advisories?name=MDKSA-2007:207
vendor-advisory, patch
-
debian.org
/security/2007/dsa-1400
vendor-advisory
-
marc.info
/?l=bugtraq&m=120352263023774&w=2
vendor-advisory
-
www-1.ibm.com
/support/docview.wss?uid=isg1IZ10244
vendor-advisory
-
www-1.ibm.com
/support/docview.wss?uid=isg1IZ10220
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-26-31524-1
vendor-advisory
-
ubuntu.com
/usn/usn-552-1
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0966.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-1011.html
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200711-28.xml
vendor-advisory
-
openpkg.com
/security/advisories/OpenPKG-SA-2007.023.html
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-66-231524-1
vendor-advisory
-
lists.apple.com
/archives/security-announce/2007/Dec/msg00002.html
vendor-advisory
-
novell.com
/linux/security/advisories/2007_24_sr.html
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-77-1018985.1-1
vendor-advisory
-
secunia.com
/advisories/27531
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27479
third-party-advisory
-
vupen.com
/english/advisories/2007/4238
vdb-entry
-
us-cert.gov
/cas/techalerts/TA07-352A.html
third-party-advisory
-
secunia.com
/advisories/27936
third-party-advisory
-
securityfocus.com
/archive/1/483563/100/0/threaded
mailing-list
-
secunia.com
/advisories/28993
third-party-advisory
- issues.rpath.com /browse/RPL-1813
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10669
vdb-entry, signature
-
securitytracker.com
/id?1018899
vdb-entry
-
vupen.com
/english/advisories/2008/0641
vdb-entry
-
secunia.com
/advisories/27756
third-party-advisory
-
secunia.com
/advisories/29074
third-party-advisory
-
securityfocus.com
/archive/1/485936/100/0/threaded
mailing-list
-
secunia.com
/advisories/27548
third-party-advisory
-
lists.vmware.com
/pipermail/security-announce/2008/000002.html
mailing-list
- bugzilla.redhat.com /show_bug.cgi?id=323571
-
secunia.com
/advisories/27546
third-party-advisory
-
vupen.com
/english/advisories/2007/3724
vdb-entry
- support.avaya.com /elmodocs2/security/ASA-2008-014.htm
- bugzilla.redhat.com /show_bug.cgi?id=378131
-
secunia.com
/advisories/27515
third-party-advisory
-
secunia.com
/advisories/27570
third-party-advisory
- docs.info.apple.com /article.html?artnum=307179
-
secunia.com
/advisories/27613
third-party-advisory
- secunia.com /advisories/28167
- secunia.com /advisories/28368
- secunia.com /advisories/28387
- secunia.com /advisories/31208
- ipcop.org /index.php?name=News&file=article&sid=41
- securityfocus.com /archive/1/483584/100/0/threaded
- securityfocus.com /archive/1/486859/100/0/threaded
- securityfocus.com /bid/26350
Sources
- CVE List CVE-2007-5116
- NVD CVE-2007-5116
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.