Vulnerabilities · 2017 · Pcre
CVE-2017-8786
Pcre2 vulnerability
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Pcre2. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pcre2 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
- vcs.pcre.org/pcre2?view=revision&revision=696 · Patch
- vcs.pcre.org/pcre2?view=revision&revision=697 · Patch
- blogs.gentoo.org/ago/2017/04/29/libpcre-heap-based-buffer-overflow-write-in-pcre2test-c/ · Exploit
- bugs.exim.org/show_bug.cgi?id=2079 · Exploit
- security.gentoo.org/glsa/201710-09
- nvd.nist.gov/vuln/detail/CVE-2017-8786
- cve.org/CVERecord?id=CVE-2017-8786
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.