Every CVE Search/ Get API key

CVE-2005-4872

Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number...

4.3 MediumFix available

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

2.32%Down 0.4 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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 MediumAV: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

Affected packages
PackageAffectedFixed
pcre3
Debian:12
before 6.2-1
6.2-1
pcre
Red Hat:enterprise_linux:4::as
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::as
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::as
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre
Red Hat:enterprise_linux:4::desktop
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::desktop
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::desktop
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre
Red Hat:enterprise_linux:4::es
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::es
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::es
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
Show 11 moreShow less
Affected packages
PackageAffectedFixed
pcre
Red Hat:enterprise_linux:4::ws
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::ws
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::ws
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre
Red Hat:enterprise_linux:5::client_workstation
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre
Red Hat:enterprise_linux:5::client
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-debuginfo
Red Hat:enterprise_linux:5::client
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre
Red Hat:enterprise_linux:5::server
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-debuginfo
Red Hat:enterprise_linux:5::server
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-devel
Red Hat:enterprise_linux:5::server
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 21 moreShow less
MoveEnter Open