CVE-2005-4872
Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number...
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2005-4872- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2005-4872- Updated
- 2026-11-02
EUVDEUVD-2005-4863 No score
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.
- Record
EUVD-2005-4863- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m5xf-8w89-qqxm No score
Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number...
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.
- Record
GHSA-m5xf-8w89-qqxm- Weakness
- CWE-119
- Updated
- 2026-11-02
OSVBELL-CVE-2005-4872
4.3
CVE-2005-4872 does not affect BellSoft software
- Record
BELL-CVE-2005-4872- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2005-4872- Updated
- 2026-11-02
OSVDEBIAN-CVE-2005-4872 No score
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.
- Record
DEBIAN-CVE-2005-4872- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pcre3Debian:12 |
before 6.2-1 | 6.2-1 |
pcreRed Hat:enterprise_linux:4::as |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-debuginfoRed Hat:enterprise_linux:4::as |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-develRed Hat:enterprise_linux:4::as |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcreRed Hat:enterprise_linux:4::desktop |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-develRed Hat:enterprise_linux:4::desktop |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcreRed Hat:enterprise_linux:4::es |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-debuginfoRed Hat:enterprise_linux:4::es |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-develRed Hat:enterprise_linux:4::es |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
pcreRed Hat:enterprise_linux:4::ws |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcre-develRed Hat:enterprise_linux:4::ws |
before 0:4.5-4.el4_5.4 | 0:4.5-4.el4_5.4 |
pcreRed Hat:enterprise_linux:5::client_workstation |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
pcre-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
pcre-develRed Hat:enterprise_linux:5::client_workstation |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
pcreRed Hat:enterprise_linux:5::client |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
pcre-debuginfoRed Hat:enterprise_linux:5::client |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
pcreRed Hat:enterprise_linux:5::server |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
pcre-debuginfoRed Hat:enterprise_linux:5::server |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
pcre-develRed Hat:enterprise_linux:5::server |
before 0:6.6-2.el5_1.1 | 0:6.6-2.el5_1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2005-4872 is a medium vulnerability (CVSS 4.3) in Pcre, published December 31, 2005. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.32%, the 83rd percentile. Fixed in pcre3 6.2-1.
References
support.avaya.com/elmodocs2/security/ASA-2007-493.htm
mandriva.com/security/advisories?name=MDVSA-2008:030
lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
secunia.com/advisories/28658
secunia.com/advisories/27773
securityfocus.com/bid/26462
Show 21 moreShow less
redhat.com/support/errata/RHSA-2007-1052.html
novell.com/linux/security/advisories/2007_62_pcre.html
pcre.org/changelog.txt
secunia.com/advisories/27869
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11615
secunia.com/advisories/27582
scary.beasts.org/security/CESA-2007-006.html
nvd.nist.gov/vuln/detail/CVE-2005-4872
github.com/advisories/GHSA-m5xf-8w89-qqxm
docs.bell-sw.com/security/cves/CVE-2005-4872
security-tracker.debian.org/tracker/CVE-2005-4872
access.redhat.com/errata/RHSA-2007:1052
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=383341
bugzilla.redhat.com/show_bug.cgi?id=383361
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_1052.json
access.redhat.com/security/cve/CVE-2005-4872
cve.org/CVERecord?id=CVE-2005-4872
access.redhat.com/security/cve/CVE-2006-7227
cve.org/CVERecord?id=CVE-2006-7227
nvd.nist.gov/vuln/detail/CVE-2006-7227