CVE-2006-7227

CVE-2006-7227 is a medium-severity vulnerability in Pcre with a CVSS 2.0 base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-189.

Key facts

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.

Frequently asked questions

What is CVE-2006-7227?
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.
How severe is CVE-2006-7227?
CVE-2006-7227 has a CVSS 2.0 base score of 6.8, rated medium severity.
Is CVE-2006-7227 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2006-7227?
CVE-2006-7227 affects Pcre. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2006-7227?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2006-7227 published?
CVE-2006-7227 was published on 2007-11-14 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Pcre

All CVEs affecting Pcre →

Other CWE-189 (Numeric Errors) vulnerabilities

Browse all CWE-189 (Numeric Errors) vulnerabilities →