CVE-2005-4872
Description
Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number of named capturing subpatterns, which allows context-dependent attackers to cause a denial of service (crash) via a regular expression with a large number of named subpatterns, which triggers a buffer overflow. NOTE: this issue was originally subsumed by CVE-2006-7224, but that CVE has been REJECTED and split.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.321%
chance of exploitation in the next 30 days
higher than 83.8% 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
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2005-12-31Published
- 2007-11-14Published by the CNA21:00 UTC · 683 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pcre pcre | through 6.1no fix listed | not listed |
References
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://secunia.com/advisories/27582
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/27869
- http://secunia.com/advisories/28658
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:030
- http://www.novell.com/linux/security/advisories/2007_62_pcre.html
- http://www.redhat.com/support/errata/RHSA-2007-1052.html
- http://scary.beasts.org/security/CESA-2007-006.html
- http://support.avaya.com/elmodocs2/security/ASA-2007-493.htm
- http://www.pcre.org/changelog.txt
- http://www.securityfocus.com/bid/26462
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11615
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-4872'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-4872'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-4872'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-4872'
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).