Skip to content
OpenAdvisories
Unscored CVE-2006-7228 EUVD-2006-7205GHSA-hw27-4fxg-c8f3

Integer overflow in Perl-Compatible Regular Expression (PCRE) library before 6.7 might allow context-dependent attackers to execute arbitra…

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

Description

Integer overflow in Perl-Compatible Regular Expression (PCRE) library before 6.7 might allow context-dependent attackers to execute arbitrary code via a regular expression that involves large (1) min, (2) max, or (3) duplength values that cause an incorrect length calculation and trigger a buffer overflow, a different vulnerability than CVE-2006-7227. 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 —
Debian 4.0 kazehakase 0.4.2-1etch1 DSA-1570-1
ReleasePackageFixed inAdvisory
RHEL 5 pcre +1 6.6-2.el5_1.7 RHSA-2007:1059
RHEL 4 pcre +1 4.5-4.el4_6.6 RHSA-2007:1068
RHEL 4 python +4 2.3.4-14.4.el4_6.1 RHSA-2007:1076
RHEL 3 pcre +1 3.9-10.4 RHSA-2007:1063
RHEL 3 python +3 2.2.3-6.8 RHSA-2007:1076
RHEL 2 pcre +1 3.4-2.4 RHSA-2007:1065
RHEL 2 php +7 4.1.2-2.20 RHSA-2008:0546
RHEL 2 python +4 1.5.2-43.72.2 RHSA-2007:1077

Advisories 8

References