Vulnerabilities · 2005 · Pcre
CVE-2005-4872
Pcre vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pcre runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/27582 · Vendor Advisory
- secunia.com/advisories/27773 · Vendor Advisory
- secunia.com/advisories/27869 · Vendor Advisory
- secunia.com/advisories/28658 · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- scary.beasts.org/security/CESA-2007-006.html
- support.avaya.com/elmodocs2/security/ASA-2007-493.htm
- www.mandriva.com/security/advisories?name=MDVSA-2008:030
- nvd.nist.gov/vuln/detail/CVE-2005-4872
- cve.org/CVERecord?id=CVE-2005-4872
More vulnerabilities in Pcre products
CVE-2025-58050CVE-2022-41409CVE-2022-1587CVE-2022-1586CVE-2020-14155CVE-2019-20838CVE-2019-20454CVE-2017-16231All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.