Skip to content
Noroxi
CVE-2007-5116· NVD / CVE Program· CNA mitre

Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attacker

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.

HighCVSS 7.5 · v2.0—No exploit Fix available
Published
Nov 7, 2007
Updated
Jun 16, 2026
EPSS
4.8% · 92th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.8%

Affected systems

VendorProduct
debiandebian linux
mandrakesoftmandrake linux
mandrakesoftmandrake linux corporate server
redhatenterprise linux
redhatenterprise linux desktop
redhatlinux advanced workstation
rpathrpath linux
larry wallperl
mandrakesoftmandrake multi network firewall
openpkgopenpkg

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • larry wall perl5.8.0
  • larry wall perl5.8.1
  • larry wall perl5.8.3
  • larry wall perl5.8.4
  • larry wall perl5.8.4.1
  • larry wall perl5.8.4.2
  • larry wall perl5.8.4.2.3
  • larry wall perl5.8.4.3
  • larry wall perl5.8.4.4
  • larry wall perl5.8.4.5
  • larry wall perl5.8.6
  • mandrakesoft mandrake multi network firewall2.0
  • openpkg openpkgcurrent
  • redhat enterprise linux1.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12perlbefore 5.8.8-125.8.8-12
Debian:3.1perlbefore 5.8.4-8sarge65.8.4-8sarge6
Debian:4.0perlbefore 5.8.8-7etch15.8.8-7etch1
Debian:5.0perlbefore 5.8.8-11.1+lenny15.8.8-11.1+lenny1
openSUSE:Tumbleweedperlbefore 5.34.0-1.15.34.0-1.1
Red Hat:certificate_system:7.3antbefore 0:1.6.5-1jpp_1rh0:1.6.5-1jpp_1rh
Red Hat:certificate_system:7.3avalon-logkitbefore 0:1.2-2jpp_4rh0:1.2-2jpp_4rh
Red Hat:certificate_system:7.3axisbefore 0:1.2.1-1jpp_3rh0:1.2.1-1jpp_3rh
Red Hat:certificate_system:7.3classpathx-jafbefore 0:1.0-2jpp_6rh0:1.0-2jpp_6rh
Red Hat:certificate_system:7.3classpathx-mailbefore 0:1.1.1-2jpp_8rh0:1.1.1-2jpp_8rh
Red Hat:certificate_system:7.3geronimo-ejb-2.1-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-j2ee-1.4-apisbefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-j2ee-connector-1.5-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-j2ee-deployment-1.1-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-j2ee-management-1.0-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-jms-1.1-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-jsp-2.0-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-jta-1.0.1B-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-servlet-2.4-apibefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-specsbefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3geronimo-specs-javadocbefore 0:1.0-0.M4.1jpp_10rh0:1.0-0.M4.1jpp_10rh
Red Hat:certificate_system:7.3jakarta-commons-modelerbefore 0:2.0-3jpp_2rh0:2.0-3jpp_2rh
Red Hat:certificate_system:7.3log4jbefore 0:1.2.12-1jpp_1rh0:1.2.12-1jpp_1rh
Red Hat:certificate_system:7.3mx4jbefore 1:3.0.1-1jpp_4rh1:3.0.1-1jpp_4rh

+35

Other highest-scoring records for the same primary product.

  • CVE-2016-9079A use-after-free vulnerability in SVG Animation has been discovered.KEV
    86Now
  • CVE-2024-44308The issue was addressed with improved checks.KEV
    68This week
  • CVE-2021-25216A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack
    64This week
  • CVE-2024-44309A cookie management issue was addressed with improved state management.KEV
    62This week
  • CVE-2016-2098Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Rub
    53Plan
  • CVE-2015-1592Movable Type Pro, Open Source, and Advanced before 5.2.12 and Pro and Advanced 6.0.x before 6.0.7 does not properly use the Perl Storable::t
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Debian:perl5.8.8-12 · Debian:12Package registry (OSV)
openSUSE:perl5.34.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
Red Hat:ant0:1.6.5-1jpp_1rh · Red Hat:certificate_system:7.3Package registry (OSV)
Red Hat:avalon-logkit0:1.2-2jpp_4rh · Red Hat:certificate_system:7.3Package registry (OSV)
Red Hat:axis0:1.2.1-1jpp_3rh · Red Hat:certificate_system:7.3Package registry (OSV)
Red Hat:classpathx-jaf0:1.0-2jpp_6rh · Red Hat:certificate_system:7.3Package registry (OSV)
Red Hat:classpathx-mail0:1.1.1-2jpp_8rh · Red Hat:certificate_system:7.3Package registry (OSV)
Red Hat:geronimo-ejb-2.1-api0:1.0-0.M4.1jpp_10rh · Red Hat:certificate_system:7.3Package registry (OSV)
Red Hat:perl2:5.8.0-97.EL3 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
Red Hat:perl-CGI2:2.89-97.EL3 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
Red Hat:perl-CPAN2:1.61-97.EL3 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
Red Hat:perl-DB_File2:1.806-97.EL3 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
Red Hat:perl-debuginfo2:5.8.0-97.EL3 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
Red Hat:perl-suidperl2:5.8.0-97.EL3 · Red Hat:enterprise_linux:3::asPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

CVSS vector

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

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records