Every CVESearch/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

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.

What does this mean?
Severity
4.3 MediumCVSS 2.0, NVD
Exploit chance
2.32%EPSS, 83rd percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
6.2-1pcre3 +20 more

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.

Exploit likelihood

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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pcre3
Debian:12
before 6.2-1
6.2-1
pcre
Red Hat:enterprise_linux:4::as
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::as
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::as
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre
Red Hat:enterprise_linux:4::desktop
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::desktop
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::desktop
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre
Red Hat:enterprise_linux:4::es
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::es
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::es
From an advisory covering 2 CVEs
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
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-debuginfo
Red Hat:enterprise_linux:4::ws
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre-devel
Red Hat:enterprise_linux:4::ws
From an advisory covering 2 CVEs
before 0:4.5-4.el4_5.4
0:4.5-4.el4_5.4
pcre
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-debuginfo
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-devel
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre
Red Hat:enterprise_linux:5::client
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1
pcre-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:6.6-2.el5_1.1
0:6.6-2.el5_1.1

What each source reports

NVD Score used4.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 ListNo 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-4863No 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-qqxmNo 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-48724.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
OSVNo 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-4872No 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

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 21 moreShow less
MoveEnter Open