Buffer overflow in PCRE2 - CVE-2017-8399
Published: May 1, 2017 / Updated: July 18, 2020
Vulnerability identifier: #VU31422
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-8399
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
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 software
PCRE2
Gentoo Linux
Gentoo Linux
How to mitigate CVE-2017-8399
Install update from vendor's website.
PCRE2 - update to 10.30