CVE-2017-7186: Buffer Overflow

Published Mar 20, 2017
·
Updated

A vulnerability was found in pcre caused by trying to find a Unicode property for a code value greater than 0x10ffff, the Unicode maximum, when running in non-UTF mode (where character values can be up to 0xffffffff).

Upstream bug:

https://bugs.exim.org/showbug.cgi?id=2052

References:

https://blogs.gentoo.org/ago/2017/03/14/libpcre-invalid-memory-read-in-match-pcreexec-c/

Upstream patches (pcre):

https://vcs.pcre.org/pcre?view=revision&revision=1688

Upstream patches (pcre2):

https://vcs.pcre.org/pcre2?view=revision&revision=670

Other sources

libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.

MITRE

Affected Software

4 affected componentsFixes available
redhat/pcre<8.41
8.41
redhat/pcre2<10.24
10.24
pcre pcre=8.40
PCRE pcre2=10.23

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 redhat/pcre2 to a version that resolves this vulnerability.

    Fixed in 10.24
  3. Upgrade

    Upgrade libpcre1 (PCRE 8) to a version that resolves this vulnerability.

    Fixed in 8.40
  4. Upgrade

    Upgrade libpcre2 (PCRE2) to a version that resolves this vulnerability.

    Fixed in 10.23

Event History

Mar 20, 2017
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·12:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 21, 2017
Data Sourced
via Red Hat·03:59 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-7186?

CVE-2017-7186 is considered to have a high severity due to its potential to cause denial of service through application crashes.

2

How do I fix CVE-2017-7186?

To fix CVE-2017-7186, upgrade to PCRE version 8.41 or PCRE2 version 10.24.

3

Who is affected by CVE-2017-7186?

CVE-2017-7186 affects users of PCRE version 8.40 and PCRE2 version 10.23.

4

What is the impact of CVE-2017-7186?

The impact of CVE-2017-7186 includes application crashes due to invalid Unicode property lookups.

5

Can CVE-2017-7186 be exploited remotely?

Yes, CVE-2017-7186 can be exploited remotely, leading to denial of service.

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