HOMEVULNERABILITIESCVE-2005-4872
MEDIUM

CVE-2005-4872

CWE-119Published: December 31, 2005· Updated: Jun 16, 2026

4.3
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2005-4872 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

From a weakness classification perspective (CWE-119): Buffer overflow vulnerabilities can lead to arbitrary code execution or denial of service by corrupting adjacent memory.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityNone
IntegrityNone
AvailabilityP
AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected Vendors & Products

pcre1 product(s)
pcre
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (26)

Quick Facts

CVE IDCVE-2005-4872
CVSS Score4.3 / 10
SeverityMEDIUM
WeaknessCWE-119
CISA KEVNo
Affected1 vendor(s)
PublishedDec 31, 2005

Related CVEs (CWE-119)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2005-4872 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.