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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | pcre3 | 6.2-1 | — |
| Debian 4.0 | kazehakase | 0.4.2-1etch1 | DSA-1570-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- RHSA-2007:1059 Red Hat Security Advisory: pcre security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2008:0546 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:1076 Red Hat Security Advisory: python security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:1077 Red Hat Security Advisory: python security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:1068 Red Hat Security Advisory: pcre security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:1063 Red Hat Security Advisory: pcre security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:1065 Red Hat Security Advisory: pcre security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1570-1 kazehakase - execution of arbitrary code Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=383371
- 30219 third-party-advisory
- 27776 third-party-advisory
- GLSA-200711-30 vendor-advisory
- [Security-announce] 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates mailing-list
- 28050 third-party-advisory
- MDVSA-2008:030 vendor-advisory
- RHSA-2008:0546 vendor-advisory
- DSA-1570 vendor-advisory
- SUSE-SA:2008:004 vendor-advisory
- 28658 third-party-advisory
- 27773 third-party-advisory
- 28406 third-party-advisory
- 20080416 VMSA-2008-0007 Moderate Updated Service Console packages pcre, net-snmp, and OpenPegasus mailing-list
- 29032 third-party-advisory
- RHSA-2007:1065 vendor-advisory
- 31124 third-party-advisory
- 29085 third-party-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-505.htm
- RHSA-2007:1077 vendor-advisory
- 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates mailing-list
- 26462 vdb-entry
- 29785 third-party-advisory
- RHSA-2007:1076 vendor-advisory
- RHSA-2007:1068 vendor-advisory
- ADV-2008-0637 vdb-entry
- GLSA-200805-11 vendor-advisory
- RHSA-2007:1059 vendor-advisory
- ADV-2008-1234 vdb-entry
- 28041 third-party-advisory
- GLSA-200802-10 vendor-advisory
- 28027 third-party-advisory
- 27741 third-party-advisory
- oval:org.mitre.oval:def:10810 vdb-entry signature
- MDVSA-2008:012 vendor-advisory
- SUSE-SA:2007:062 vendor-advisory
- http://www.pcre.org/changelog.txt
- 30155 third-party-advisory
- RHSA-2007:1063 vendor-advisory
- 28720 third-party-advisory
- GLSA-200801-02 vendor-advisory
- 27582 third-party-advisory
- [Security-announce] 20080415 VMSA-2008-0007 Moderate Updated Service Console packages pcre, net-snmp, and OpenPegasus mailing-list
- http://bugs.gentoo.org/show_bug.cgi?id=198976
- http://scary.beasts.org/security/CESA-2007-006.html
- GLSA-200801-19 vendor-advisory
- GLSA-200801-18 vendor-advisory
- 28414 third-party-advisory
- 30106 third-party-advisory
- 28714 third-party-advisory