7.5
CWE
125
Advisory Published
Updated

CVE-2017-6004

First published: Thu Feb 16 2017(Updated: )

The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/pcre<8.41
8.41
PCRE (Perl Compatible Regular Expressions)<=8.38

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-2017-6004?

    CVE-2017-6004 is classified as a high severity vulnerability due to its potential for causing denial of service.

  • How do I fix CVE-2017-6004?

    To fix CVE-2017-6004, you should upgrade to PCRE versions 8.41 or above.

  • What types of attacks does CVE-2017-6004 enable?

    CVE-2017-6004 enables remote attackers to cause a denial of service through crafted regular expressions.

  • Which versions of PCRE are affected by CVE-2017-6004?

    CVE-2017-6004 affects PCRE versions before 8.41 and versions 8.x before revision 1680.

  • What are the consequences of exploiting CVE-2017-6004?

    Exploiting CVE-2017-6004 can lead to out-of-bounds reads and application crashes.

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