CVE-2007-5116
Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent…
Check your servers for CVE-2007-5116
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-5116 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 4.83%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 92.7% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-5116 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-5116RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-5116Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-5116
trivy image --scanners vuln IMAGE | grep CVE-2007-5116
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
52 of 53 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- 27479 secunia.com · third party advisory
- DSA-1400 debian.org · vendor advisory
- HPSBTU02311 marc.info · vendor advisory
- TA07-352A us-cert.gov · third party advisory
- IZ10244 www-1.ibm.com · vendor advisory
- 27936 secunia.com · third party advisory
- 28993 secunia.com · third party advisory
- IZ10220 www-1.ibm.com · vendor advisory
- https://issues.rpath.com/browse/RPL-1813 issues.rpath.com
- 31524 sunsolve.sun.com · vendor advisory
- USN-552-1 ubuntu.com · vendor advisory
- 27756 secunia.com · third party advisory
24 more
- RHSA-2007:0966 redhat.com · vendor advisory
- 29074 secunia.com · third party advisory
- 27548 secunia.com · third party advisory
- RHSA-2007:1011 redhat.com · vendor advisory
- 27546 secunia.com · third party advisory
- GLSA-200711-28 gentoo.org · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2008-014.htm support.avaya.com
- OpenPKG-SA-2007.023 openpkg.com · vendor advisory
- 231524 sunsolve.sun.com · vendor advisory
- 27531 secunia.com · third party advisory
- APPLE-SA-2007-12-17 lists.apple.com · vendor advisory
- 27515 secunia.com · third party advisory
- 27570 secunia.com · third party advisory
- http://docs.info.apple.com/article.html?artnum=307179 docs.info.apple.com
- 27613 secunia.com · third party advisory
- 28368 secunia.com · third party advisory
- SUSE-SR:2007:024 novell.com · vendor advisory
- 1018985 sunsolve.sun.com · vendor advisory
- MDKSA-2007:207 mandriva.com · vendor advisory
- http://www.ipcop.org/index.php?name=News&file=article&sid=41 ipcop.org
- 31208 secunia.com · third party advisory
- 28387 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2008-0001.html vmware.com
- 28167 secunia.com · third party advisory
Other references
- ADV-2007-4238 vupen.com · vdb entry
- 20071110 FLEA-2007-0063-1 perl securityfocus.com · mailing list
- oval:org.mitre.oval:def:10669 oval.cisecurity.org · vdb entry, signature
- 1018899 securitytracker.com · vdb entry
- ADV-2008-0641 vupen.com · vdb entry
- 20080108 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages securityfocus.com · mailing list
- [Security-announce] 20080107 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated… lists.vmware.com · mailing list
- https://bugzilla.redhat.com/show_bug.cgi?id=323571 bugzilla.redhat.com
- ADV-2007-3724 vupen.com · vdb entry
- https://bugzilla.redhat.com/show_bug.cgi?id=378131 bugzilla.redhat.com
- ADV-2007-4255 vupen.com · vdb entry
- 20071112 FLEA-2007-0069-1 perl securityfocus.com · mailing list
4 more
- perl-unicode-bo(38270) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2008-0064 vupen.com · vdb entry
- 26350 securityfocus.com · vdb entry
- 20080123 UPDATED VMSA-2008-0001.1 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service… securityfocus.com · mailing list
Source: the record CVE-2007-5116 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse