Vulnerabilities · 2017 · Pcre
CVE-2017-8399
Pcre2 vulnerability
PCRE2 before 10.30 has an out-of-bounds write caused by a stack-based buffer overflow in pcre2_match.c, related to a "pattern with very many captures."
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=674 · Patch
- www.securityfocus.com/bid/98315 · Third Party Advisory
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=783 · Third Party Advisory
- security.gentoo.org/glsa/201710-09 · Third Party Advisory
- vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup
- nvd.nist.gov/vuln/detail/CVE-2017-8399
- cve.org/CVERecord?id=CVE-2017-8399
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.