What’s Vulnerable › Vulnerabilities
CVE-2017-8399
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-05-01 · updated 2026-06-17
- Weakness: CWE-119
Description
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."
Affected products
- PCRE2: before 10.30 — fixed in 10.30
How to fix
Upgrade to a fixed version: PCRE2 10.30. Check the vendor advisory for mitigations.
References
- http://www.securityfocus.com/bid/98315
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783
- https://security.gentoo.org/glsa/201710-09
- https://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup
- https://vcs.pcre.org/pcre2?view=revision&revision=674
- http://www.securityfocus.com/bid/98315
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783
- https://security.gentoo.org/glsa/201710-09
- https://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup
- https://vcs.pcre.org/pcre2?view=revision&revision=674
Get alerted when CVE-2017-8399 or the next vulnerability affects your stack