CVE-2005-4872 json
Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number of named capturing subpatterns, which allow…
published 2005-12-31 20 y ago modified 2026-06-16 4 mo ago also EUVD-2005-4863
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pcre3 Debian 12 6.2-1
debian advisories DEBIAN-CVE-2005-4872
- pcre RHEL 4 4.5-4.el4_5.4
- pcre RHEL 5 6.6-2.el5_1.1
red hat advisories RHSA-2007:1052
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-4872 updated
pcre incorrect memory requirement computation
-
Red Hat Enterprise Linux (v. 5 server) pcre 6.6-2.el5_1.1 Red Hat Enterprise Linux AS version 4 pcre 4.5-4.el4_5.4 Red Hat Enterprise Linux Desktop (v. 5 client) pcre 6.6-2.el5_1.1 Red Hat Enterprise Linux Desktop version 4 pcre 4.5-4.el4_5.4 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) pcre 6.6-2.el5_1.1 Red Hat Enterprise Linux ES version 4 pcre 4.5-4.el4_5.4fixed: vendor fix RHSA-2007:1052
+1 more productsfewer
Red Hat Enterprise Linux WS version 4 pcre 4.5-4.el4_5.4
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.32% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
mandriva.com
/security/advisories?name=MDVSA-2008:030
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2008-01/msg00006.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-1052.html
vendor-advisory
-
novell.com
/linux/security/advisories/2007_62_pcre.html
vendor-advisory
-
secunia.com
/advisories/28658
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27773
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27869
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27582
third-party-advisory, vendor-advisory
- support.avaya.com /elmodocs2/security/ASA-2007-493.htm
-
securityfocus.com
/bid/26462
vdb-entry
- pcre.org /changelog.txt
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11615
vdb-entry, signature
- scary.beasts.org /security/CESA-2007-006.html
Sources
- CVE List CVE-2005-4872
- NVD CVE-2005-4872
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.