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
- Severity: Medium (CVSS 2.0 base score 6.8)
- EPSS exploit prediction: 4% (88th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-189
- Affected product: Pcre
- Published:
- Last modified:
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
- http://bugs.gentoo.org/show_bug.cgi?id=198976
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://scary.beasts.org/security/CESA-2007-006.html
- http://secunia.com/advisories/27582
- http://secunia.com/advisories/27741
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/27869
- http://secunia.com/advisories/28406
- http://secunia.com/advisories/28414
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/28714
- http://secunia.com/advisories/28720
- http://secunia.com/advisories/30106
- http://secunia.com/advisories/30155
- http://secunia.com/advisories/30219
- http://security.gentoo.org/glsa/glsa-200711-30.xml
- http://security.gentoo.org/glsa/glsa-200801-02.xml
- http://security.gentoo.org/glsa/glsa-200801-18.xml
- http://security.gentoo.org/glsa/glsa-200801-19.xml
- http://security.gentoo.org/glsa/glsa-200805-11.xml
- http://support.avaya.com/elmodocs2/security/ASA-2007-493.htm
- http://www.debian.org/security/2008/dsa-1570
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:030
- http://www.novell.com/linux/security/advisories/2007_62_pcre.html
- http://www.pcre.org/changelog.txt
- http://www.redhat.com/support/errata/RHSA-2007-1052.html
- http://www.securityfocus.com/bid/26462
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10408
Affected products (1)
- cpe:2.3:a:pcre:pcre:*:*:*:*:*:*:*:*
More vulnerabilities in Pcre
- CVE-2015-3210 — Critical (CVSS 9.8): Heap-based buffer overflow in PCRE 8.34 through 8.37 and PCRE2 10.10 allows remote attackers to execute arbitrary code…
- CVE-2016-3191 — Critical (CVSS 9.8): The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22…
- CVE-2016-1283 — Critical (CVSS 9.8): The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the…
- CVE-2015-8391 — Critical (CVSS 9.8): The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote…
- CVE-2015-5073 — Critical (CVSS 9.1): Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38 allows remote…
- CVE-2015-2325 — High (CVSS 7.8): The compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a…
Other CWE-189 (Numeric Errors) vulnerabilities
- CVE-2015-8396 — Critical (CVSS 10.0): Integer overflow in the ImageRegionReader::ReadIntoBuffer function in…
- CVE-2015-7205 — Critical (CVSS 10.0): Integer underflow in the RTPReceiverVideo::ParseRtpPacket function in Mozilla Firefox before 43.0 and Firefox ESR 38.x…
- CVE-2015-6575 — Critical (CVSS 10.0): SampleTable.cpp in libstagefright in Android before 5.1.1 LMY48I does not properly consider integer promotion, which…
- CVE-2015-3864 — Critical (CVSS 10.0): Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in…
- CVE-2015-3836 — Critical (CVSS 10.0): The Parse_wave function in arm-wt-22k/lib_src/eas_mdls.c in the Sonivox DLS-to-EAS converter in Android before 5.1.1…
- CVE-2015-3834 — Critical (CVSS 10.0): Multiple integer overflows in the BnHDCP::onTransact function in media/libmedia/IHDCP.cpp in libstagefright in Android…