CVE-2005-2491
Integer overflow in pcre_compile.c in Perl Compatible Regular Expressions (PCRE) before 6.2, as used in multiple products such as…
Check your servers for CVE-2005-2491
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-2005-2491 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
Integer overflow in pcre_compile.c in Perl Compatible Regular Expressions (PCRE) before 6.2, as used in multiple products such as Python, Ethereal, and PHP, allows attackers to execute arbitrary code via quantifier values in regular expressions, which leads to a heap-based buffer overflow.
Exploitation
EPSS 4.34%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 92.0% 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-2005-2491 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2005-2491RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2005-2491Alpine
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-2005-2491
trivy image --scanners vuln IMAGE | grep CVE-2005-2491
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
65 of 67 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
- OpenPKG-SA-2005.018 marc.info · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2005-216.pdf support.avaya.com
- 22691 secunia.com · third party advisory
- 17813 secunia.com · third party advisory
- GLSA-200509-08 gentoo.org · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm support.avaya.com
- FLSA:168516 securityfocus.com · vendor advisory
- GLSA-200509-02 gentoo.org · vendor advisory
- TSLSA-2005-0059 lists.trustix.org · vendor advisory
- 22875 secunia.com · third party advisory
- SSRT061238 itrc.hp.com · vendor advisory
- SSRT090208 marc.info · vendor advisory
29 more
- http://www.ethereal.com/appnotes/enpa-sa-00021.html ethereal.com
- SUSE-SA:2005:051 marc.info · vendor advisory
- 16502 secunia.com · third party advisory
- SSRT051251 securityfocus.com · vendor advisory
- 21522 secunia.com · third party advisory
- 16679 secunia.com · third party advisory
- DSA-817 debian.org · vendor advisory
- GLSA-200508-17 gentoo.org · vendor advisory
- 604 securityreason.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2005-223.pdf support.avaya.com
- APPLE-SA-2005-11-29 docs.info.apple.com · vendor advisory
- RHSA-2005:761 redhat.com · vendor advisory
- SUSE-SA:2005:049 novell.com · vendor advisory
- DSA-819 debian.org · vendor advisory
- RHSA-2005:358 redhat.com · vendor advisory
- DSA-821 debian.org · vendor advisory
- 19072 secunia.com · third party advisory
- 19532 secunia.com · third party advisory
- http://www.php.net/release_4_4_1.php php.net
- GLSA-200509-19 gentoo.org · vendor advisory
- 17252 secunia.com · third party advisory
- GLSA-200509-12 gentoo.org · vendor advisory
- SUSE-SA:2005:052 novell.com · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-159.htm support.avaya.com
- DSA-800 debian.org · vendor advisory
- 19193 secunia.com · third party advisory
- 102198 sunsolve.sun.com · vendor advisory
- SUSE-SA:2005:048 novell.com · vendor advisory
- RHSA-2006:0197 redhat.com · vendor advisory
Other references
- ADV-2006-4502 vupen.com · vdb entry
- 14620 securityfocus.com · vdb entry
- ADV-2005-2659 vupen.com · vdb entry
- oval:org.mitre.oval:def:1659 oval.cisecurity.org · vdb entry, signature
- ADV-2005-1511 vupen.com · vdb entry
- 1014744 securitytracker.com · vdb entry
- ADV-2006-4320 vupen.com · vdb entry
- oval:org.mitre.oval:def:1496 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:11516 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:735 oval.cisecurity.org · vdb entry, signature
- 15647 securityfocus.com · vdb entry
- ADV-2006-0789 vupen.com · vdb entry
12 more
- [httpd-cvs] 20190815 svn commit: r1048742 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20190815 svn commit: r1048743 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20200401 svn commit: r1058586 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20200401 svn commit: r1058587 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073139 [3/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1888194 [3/13] - /httpd/site/trunk/content/security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073140 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073143 [2/3] - in /websites/staging/httpd/trunk/content: ./ security/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073149 [5/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210606 svn commit: r1075470 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
Source: the record CVE-2005-2491 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