#VU31422 Buffer overflow in PCRE2 - CVE-2017-8399


| Updated: 2020-07-18

Vulnerability identifier: #VU31422

Vulnerability risk: High

CVSSv4.0: 8.1 [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/E:U/U:Amber]

CVE-ID: CVE-2017-8399

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PCRE2
Universal components / Libraries / Libraries used by multiple products

Vendor: PCRE

Description

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."

Mitigation
Install update from vendor's website.

Vulnerable software versions

PCRE2: 10.00 - 10.23


External links
https://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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability