Skip to content
Fencer Vulns
high 7.5

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_2
    fixed: 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 more
    fixed: 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.2
    +4 more products
    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
    fixed: vendor fix RHSA-2007:0966

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

Sources

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.