CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2007-1661

First published: Wed Nov 07 2007(Updated: )

Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d" patterns.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PCRE2 (Perl Compatible Regular Expressions)=7.0
PCRE2 (Perl Compatible Regular Expressions)=7.1
PCRE2 (Perl Compatible Regular Expressions)<=7.2
Apple macOS Server=10.4.11
Apple iOS and macOS=10.4.11

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-2007-1661?

    CVE-2007-1661 is considered a medium severity vulnerability due to the potential for denial of service and information disclosure.

  • How do I fix CVE-2007-1661?

    To fix CVE-2007-1661, upgrade the PCRE library to version 7.3 or later.

  • Which software is affected by CVE-2007-1661?

    CVE-2007-1661 affects versions of the Perl-Compatible Regular Expression library prior to 7.3 and certain versions of macOS and Mac OS X Server.

  • What type of attacks can be executed using CVE-2007-1661?

    CVE-2007-1661 can allow context-dependent attackers to cause a denial of service or potentially access sensitive information.

  • Is CVE-2007-1661 specific to any programming language?

    CVE-2007-1661 is related to the Perl-Compatible Regular Expression library, which is used in multiple programming languages, particularly those that utilize regex functions.

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