CVE-2017-6004: High severity pcre pcre vulnerability

Published Feb 16, 2017
·
Updated

The compilebracketmatchingpath function in pcrejitcompile.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.

Affected Software

2 affected componentsFixes available
redhat/pcre<8.41
8.41
pcre pcre<=8.38

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/pcre to a version that resolves this vulnerability.

    Fixed in 8.41
  2. Upgrade

    Upgrade pcre to a version that resolves this vulnerability.

    Patch revision 1680
  3. Compensating control

    Mitigate the PCRE JIT out-of-bounds read/DoS by disabling PCRE JIT if it is enabled until PCRE is upgraded past revision 1680 (PCRE through 8.x before revision 1680 is affected).

Event History

Feb 16, 2017
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Data Sourced
via NVD·11:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 21, 2017
Data Sourced
via Red Hat·09:39 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

How do I fix CVE-2017-6004?

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

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203