Vulnerabilities · 2006 · Pcre
CVE-2006-7227
Pcre vulnerability
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.
Affected products
Pcre. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pcre runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/27582 · Patch
- www.redhat.com/support/errata/RHSA-2007-1052.html · Patch
- bugs.gentoo.org/show_bug.cgi?id=198976
- lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- scary.beasts.org/security/CESA-2007-006.html
- secunia.com/advisories/27741
- secunia.com/advisories/27773
- secunia.com/advisories/27869
- nvd.nist.gov/vuln/detail/CVE-2006-7227
- cve.org/CVERecord?id=CVE-2006-7227
More vulnerabilities in Pcre products
CVE-2025-58050CVE-2022-41409CVE-2022-1587CVE-2022-1586CVE-2020-14155CVE-2019-20838CVE-2019-20454CVE-2017-16231All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.