What’s Vulnerable › Vulnerabilities
CVE-2005-4872
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2005-12-31 · updated 2026-06-16
- Weakness: CWE-119
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.
Affected products
- Pcre: through 6.1
References
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://scary.beasts.org/security/CESA-2007-006.html
- http://secunia.com/advisories/27582
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/27869
- http://secunia.com/advisories/28658
- http://support.avaya.com/elmodocs2/security/ASA-2007-493.htm
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:030
- http://www.novell.com/linux/security/advisories/2007_62_pcre.html
- http://www.pcre.org/changelog.txt
- http://www.redhat.com/support/errata/RHSA-2007-1052.html
- http://www.securityfocus.com/bid/26462
Get alerted when CVE-2005-4872 or the next vulnerability affects your stack