Vulnerabilities · 2017 · Pcre
CVE-2017-7186
Pcre vulnerability
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.
Affected products
Pcre, Pcre2. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pcre runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blogs.gentoo.org/ago/2017/03/14/libpcre-invalid-memory-read-in-match-pcre_exec-c/ · Patch
- vcs.pcre.org/pcre/code/trunk/pcre_internal.h?r1=1649&r2=1688&sortby=date · Patch
- vcs.pcre.org/pcre/code/trunk/pcre_ucd.c?r1=1490&r2=1688&sortby=date · Patch
- vcs.pcre.org/pcre2/code/trunk/src/pcre2_internal.h?r1=600&r2=670&sortby=date · Patch
- vcs.pcre.org/pcre2/code/trunk/src/pcre2_ucd.c?r1=316&r2=670&sortby=date · Patch
- bugs.exim.org/show_bug.cgi?id=2052 · Third Party Advisory
- www.securityfocus.com/bid/97030
- access.redhat.com/errata/RHSA-2018:2486
- nvd.nist.gov/vuln/detail/CVE-2017-7186
- cve.org/CVERecord?id=CVE-2017-7186
More vulnerabilities in Pcre products
CVE-2025-58050CVE-2022-41409CVE-2022-1587CVE-2022-1586CVE-2020-14155CVE-2019-20838CVE-2019-20454CVE-2017-16231All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.