CVE-2017-7245: Input Validation

Published Mar 23, 2017
·
Updated

A stack-based buffer overflow flaw was found in PCRE. An attacker could use a crafted file that, when processed by PCRE, would crash the application using the PCRE library.

This issue only affects the PCRE version 8.40.

Other sources

Stack-based buffer overflow in the pcre32copysubstring function in pcreget.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 4) or possibly have unspecified other impact via a crafted file.

Affected Software

1 affected component
PCRE PCRE=8.40

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PCRE / libpcre1 to a version that resolves this vulnerability.

    Fixed in 8.40
  2. Compensating control

    Mitigate denial-of-service risk by preventing untrusted/remote crafted files from being processed by applications that use the PCRE library (e.g., block or restrict file sources before PCRE processing).

Event History

Mar 23, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:59 PM
DescriptionSeverityWeaknessAffected Software
Mar 30, 2017
Data Sourced
via Red Hat·08:11 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2017-7245?

CVE-2017-7245 has a high severity rating due to its potential to cause application crashes.

2

How do I fix CVE-2017-7245?

To fix CVE-2017-7245, upgrade PCRE to the latest version beyond 8.40 to mitigate the buffer overflow vulnerability.

3

Which version of PCRE is affected by CVE-2017-7245?

CVE-2017-7245 specifically affects PCRE version 8.40.

4

What kind of vulnerability is CVE-2017-7245?

CVE-2017-7245 is classified as a stack-based buffer overflow vulnerability.

5

What are the potential consequences of CVE-2017-7245?

The potential consequences of CVE-2017-7245 include application crashes and possible exploitation by attackers.

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