Back to CVE catalog
CVE-2005-4872

Improper counting of named subpatterns in PCRE library

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityNone
IntegrityNone
AvailabilityPartial

CVSS summary v2.0

4.3Medium
Published:
Updated:
EPSS:
2.321%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:pcrepcreAffected versions:
≤ 6.1
Vendor:oraclelinuxpcre
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:6.6-2.el5_1.1
Vendor:oraclelinuxpcre-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:6.6-2.el5_1.1
Vendor:redhatpcre
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:6.6-2.el5_1.1
Vendor:redhatpcre-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:6.6-2.el5_1.1

1–5 of 5 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P
oraclelinux · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P
nvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories21

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences