CWE
20
Advisory Published
CVE Published
Updated

CVE-2006-7225: Input Validation

First published: Thu Nov 15 2007(Updated: )

From pcre changelog, version 6.7: 18. A valid (though odd) pattern that looked like a POSIX character class but used an invalid character after [ (for example [[,abc,]]) caused pcre_compile() to give the error "Failed: internal error: code overflow" or in some cases to crash with a glibc free() error. This could even happen if the pattern terminated after [[ but there just happened to be a sequence of letters, a binary zero, and a closing ] in the memory that followed. 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)=2.01
PCRE (Perl Compatible Regular Expressions)=4.0
PCRE (Perl Compatible Regular Expressions)=5.0
PCRE (Perl Compatible Regular Expressions)=0.99
PCRE (Perl Compatible Regular Expressions)=0.94
PCRE (Perl Compatible Regular Expressions)=4.5
PCRE (Perl Compatible Regular Expressions)=3.7
PCRE (Perl Compatible Regular Expressions)=3.6
PCRE (Perl Compatible Regular Expressions)=3.3
PCRE (Perl Compatible Regular Expressions)=1.04
PCRE (Perl Compatible Regular Expressions)=2.06
PCRE (Perl Compatible Regular Expressions)=3.5
PCRE (Perl Compatible Regular Expressions)=4.2
PCRE (Perl Compatible Regular Expressions)=0.98
PCRE (Perl Compatible Regular Expressions)=1.00
PCRE (Perl Compatible Regular Expressions)=0.93
PCRE (Perl Compatible Regular Expressions)=2.04
PCRE (Perl Compatible Regular Expressions)=6.3
PCRE (Perl Compatible Regular Expressions)=2.03
PCRE (Perl Compatible Regular Expressions)=1.02
PCRE (Perl Compatible Regular Expressions)=1.08
PCRE (Perl Compatible Regular Expressions)=1.01
PCRE (Perl Compatible Regular Expressions)=6.1
PCRE (Perl Compatible Regular Expressions)=0.97
PCRE (Perl Compatible Regular Expressions)=3.9
PCRE (Perl Compatible Regular Expressions)=1.05
PCRE (Perl Compatible Regular Expressions)=6.0
PCRE (Perl Compatible Regular Expressions)=0.96
PCRE (Perl Compatible Regular Expressions)=2.08
PCRE (Perl Compatible Regular Expressions)=1.03
PCRE (Perl Compatible Regular Expressions)=0.92
PCRE (Perl Compatible Regular Expressions)=6.5
PCRE (Perl Compatible Regular Expressions)=6.6
PCRE (Perl Compatible Regular Expressions)=4.4
PCRE (Perl Compatible Regular Expressions)=4.1
PCRE (Perl Compatible Regular Expressions)=0.91
PCRE (Perl Compatible Regular Expressions)=3.8
PCRE (Perl Compatible Regular Expressions)=6.2
PCRE (Perl Compatible Regular Expressions)=3.2
PCRE (Perl Compatible Regular Expressions)=2.05
PCRE (Perl Compatible Regular Expressions)=1.07
PCRE (Perl Compatible Regular Expressions)=1.06
PCRE (Perl Compatible Regular Expressions)=3.4
PCRE (Perl Compatible Regular Expressions)=3.0
PCRE (Perl Compatible Regular Expressions)=0.95
PCRE (Perl Compatible Regular Expressions)=2.02
PCRE (Perl Compatible Regular Expressions)=6.4
PCRE (Perl Compatible Regular Expressions)=3.1
PCRE (Perl Compatible Regular Expressions)=1.09
PCRE (Perl Compatible Regular Expressions)=2.07
PCRE (Perl Compatible Regular Expressions)=4.3
PCRE (Perl Compatible Regular Expressions)=2.0

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-7225?

    CVE-2006-7225 is classified as a critical vulnerability due to its potential to cause application crashes.

  • How does CVE-2006-7225 affect PCRE versions?

    CVE-2006-7225 affects multiple versions of PCRE, specifically 0.91 through 6.7.

  • What types of applications are impacted by CVE-2006-7225?

    Applications using the affected versions of PCRE for regular expression handling may crash or exhibit errors.

  • How do I fix CVE-2006-7225?

    To fix CVE-2006-7225, upgrade to a version of PCRE that is not affected, ideally version 6.8 or greater.

  • What causes the vulnerabilities in CVE-2006-7225?

    The vulnerabilities in CVE-2006-7225 are caused by improper handling of invalid character classes in regular expressions.

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