CVE-2005-2491
CVE-2005-2491 is a high-severity vulnerability in Pcre with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Pcre
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 Python, Ethereal, and PHP, allows attackers to execute arbitrary code via quantifier values in regular expressions, which leads to a heap-based buffer overflow.
- How severe is CVE-2005-2491?
- CVE-2005-2491 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2005-2491 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2005-2491?
- CVE-2005-2491 primarily affects Pcre. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2005-2491?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2005-2491 published?
- CVE-2005-2491 was published on 2005-08-23 and last updated on 2026-06-16.
References
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.10/SCOSA-2006.10.txt
- ftp://patches.sgi.com/support/free/security/advisories/20060401-01-U
- http://docs.info.apple.com/article.html?artnum=302847
- http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522
- http://lists.trustix.org/pipermail/tsl-announce/2005-October/000354.html
- http://marc.info/?l=bugtraq&m=112605112027335&w=2
- http://marc.info/?l=bugtraq&m=112606064317223&w=2
- http://marc.info/?l=bugtraq&m=130497311408250&w=2
- http://secunia.com/advisories/16502
- http://secunia.com/advisories/16679
- http://secunia.com/advisories/17252
- http://secunia.com/advisories/17813
- http://secunia.com/advisories/19072
- http://secunia.com/advisories/19193
- http://secunia.com/advisories/19532
- http://secunia.com/advisories/21522
- http://secunia.com/advisories/22691
- http://secunia.com/advisories/22875
- http://securityreason.com/securityalert/604
- http://securitytracker.com/id?1014744
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-102198-1
- http://support.avaya.com/elmodocs2/security/ASA-2005-216.pdf
- http://support.avaya.com/elmodocs2/security/ASA-2005-223.pdf
- http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm
- http://support.avaya.com/elmodocs2/security/ASA-2006-159.htm
- http://www.debian.org/security/2005/dsa-800
- http://www.debian.org/security/2005/dsa-817
- http://www.debian.org/security/2005/dsa-819
- http://www.debian.org/security/2005/dsa-821
- http://www.ethereal.com/appnotes/enpa-sa-00021.html
Affected products (3)
- cpe:2.3:a:pcre:pcre:5.0:*:*:*:*:*:*:*
- cpe:2.3:a:pcre:pcre:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:pcre:pcre:6.1:*:*:*:*:*:*:*
More vulnerabilities in Pcre
- CVE-2015-3210 — Critical (CVSS 9.8): Heap-based buffer overflow in PCRE 8.34 through 8.37 and PCRE2 10.10 allows remote attackers to execute arbitrary code…
- CVE-2016-3191 — Critical (CVSS 9.8): The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22…
- CVE-2016-1283 — Critical (CVSS 9.8): The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the…
- CVE-2015-8391 — Critical (CVSS 9.8): The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote…
- CVE-2015-5073 — Critical (CVSS 9.1): Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38 allows remote…
- CVE-2015-2325 — High (CVSS 7.8): The compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a…