Skip to content
OpenAdvisories
Unscored CVE-2005-4872 EUVD-2005-4863GHSA-m5xf-8w89-qqxm

Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number of named capturing subpatterns, which allow…

Published Nov 14, 2007 · Updated Aug 8, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 pcre3 6.2-1 —
ReleasePackageFixed inAdvisory
RHEL 5 pcre +1 6.6-2.el5_1.1 RHSA-2007:1052
RHEL 4 pcre +1 4.5-4.el4_5.4 RHSA-2007:1052

Advisories 1

References