CWE
189 119 190
Advisory Published
Rejected
Updated

CVE-2006-7228: Buffer Overflow

First published: Wed Nov 07 2007(Updated: )

<a href="https://access.redhat.com/security/cve/CVE-2006-7224">CVE-2006-7224</a> initially described several integer overflows in pcre, all described here: <a href="http://scary.beasts.org/security/CESA-2007-006.html">http://scary.beasts.org/security/CESA-2007-006.html</a> This id should be used to describe issue #2 in that advisory: 3) More possible integer overflow trouble. pcre_compile: --- if (min == 0) { length++; if (max &gt; 0) length += (max - 1) * (duplength + 3 + 2*LINK_SIZE); } ... else { length += (min - 1) * duplength; if (max &gt; min) /* Need this test as max=-1 means no limit */ length += (max - min) * (duplength + 3 + 2*LINK_SIZE) - (2 + 2*LINK_SIZE); } --- In both these cases, I see no reason why a malicious regexp pattern couldn't cause an integer overflow by using large min / max / duplength values. This will really mess up the critical "length" value.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/pcre<0:4.5-4.el4_6.6
0:4.5-4.el4_6.6
redhat/python<0:2.3.4-14.4.el4_6.1
0:2.3.4-14.4.el4_6.1
redhat/pcre<0:6.6-2.el5_1.7
0:6.6-2.el5_1.7
PCRE (Perl Compatible Regular Expressions)<=6.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2006-7228?

    CVE-2006-7228 is considered a critical vulnerability due to potential integer overflows in the PCRE implementation.

  • How do I fix CVE-2006-7228?

    To fix CVE-2006-7228, update the PCRE package to version 0:4.5-4.el4_6.6 or later as specified in the applicable remediation.

  • Which software is affected by CVE-2006-7228?

    CVE-2006-7228 affects specific versions of PCRE and Python packages on Red Hat-based systems.

  • What type of vulnerability is CVE-2006-7228?

    CVE-2006-7228 is an integer overflow vulnerability which can lead to security flaws in applications using PCRE.

  • Is there a known exploit for CVE-2006-7228?

    Yes, there have been reports of exploits leveraging the integer overflow vulnerabilities identified in CVE-2006-7228.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203