Description
Integer overflow in Perl-Compatible Regular Expression (PCRE) library before 6.7 allows context-dependent attackers to execute arbitrary code via a regular expression containing a large number of named subpatterns (name_count) or long subpattern names (max_name_size), 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.
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.1 | RHSA-2007:1052 |
| RHEL 4 | pcre +1 | 4.5-4.el4_5.4 | RHSA-2007:1052 |
Advisories 2
- RHSA-2007:1052 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
- 30219 third-party-advisory
- GLSA-200711-30 vendor-advisory
- oval:org.mitre.oval:def:10408 vdb-entry signature
- http://support.avaya.com/elmodocs2/security/ASA-2007-493.htm
- MDVSA-2008:030 vendor-advisory
- DSA-1570 vendor-advisory
- SUSE-SA:2008:004 vendor-advisory
- 28658 third-party-advisory
- 27773 third-party-advisory
- 28406 third-party-advisory
- 26462 vdb-entry
- GLSA-200805-11 vendor-advisory
- RHSA-2007:1052 vendor-advisory
- 27741 third-party-advisory
- SUSE-SA:2007:062 vendor-advisory
- http://www.pcre.org/changelog.txt
- 30155 third-party-advisory
- 27869 third-party-advisory
- 28720 third-party-advisory
- GLSA-200801-02 vendor-advisory
- 27582 third-party-advisory
- 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