CWE
189
Advisory Published
CVE Published
Updated

CVE-2006-7230

First published: Thu Nov 15 2007(Updated: )

From pcre changelog, version 7.0: 4. Fixed a major bug that caused incorrect computation of the amount of memory required for a compiled pattern when options that changed within the pattern affected the logic of the preliminary scan that determines the length. The relevant options are -x, and -i in UTF-8 mode. The result was that the computed length was too small. The symptoms of this bug were either the PCRE error "internal error: code overflow" from pcre_compile(), or a glibc crash with a message such as "pcretest: free(): invalid next size (fast)". Examples of patterns that provoked this bug (shown in pcretest format) are: /(?-x: )/x /(?x)(?-x: \s*#\s*)/ /((?i)[\x{c0}])/8 /(?i:[\x{c0}])/8 HOWEVER: Change 17 below makes this fix obsolete as the memory computation is now done differently. Acknowledgements: Red Hat would like to thank Ludwig Nussel for reporting this issue.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
PCRE (Perl Compatible Regular Expressions)<=6.9

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.

Frequently Asked Questions

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

    CVE-2006-7230 has a medium severity rating due to potential memory corruption issues.

  • How do I fix CVE-2006-7230?

    To fix CVE-2006-7230, upgrade to PCRE version 7.0 or later.

  • Which versions of PCRE are affected by CVE-2006-7230?

    CVE-2006-7230 affects PCRE versions up to and including 6.9.

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

    CVE-2006-7230 is classified as a memory corruption vulnerability.

  • Can CVE-2006-7230 lead to code execution?

    Yes, CVE-2006-7230 could potentially lead to arbitrary code execution due to improper memory handling.

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