CVE-2005-2491
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
4.344%
chance of exploitation in the next 30 days
higher than 91.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Timeline
- 2005-08-22Published by the CNA04:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pcre pcre | 5.0no fix listed6.0no fix listed6.1no fix listed | not listednot listednot listed |
References
- http://securitytracker.com/id?1014744
- 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://sunsolve.sun.com/search/document.do?assetkey=1-26-102198-1
- 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.gentoo.org/security/en/glsa/glsa-200508-17.xml
- http://www.gentoo.org/security/en/glsa/glsa-200509-02.xml
- http://www.gentoo.org/security/en/glsa/glsa-200509-08.xml
- http://www.gentoo.org/security/en/glsa/glsa-200509-12.xml
- http://www.gentoo.org/security/en/glsa/glsa-200509-19.xml
- http://www.novell.com/linux/security/advisories/2005_48_pcre.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-2491'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-2491'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-2491'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-2491'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).