#VU31422 Buffer overflow in PCRE2


Published: 2017-05-01 | Updated: 2020-07-18

Vulnerability identifier: #VU31422

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

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
http://www.securityfocus.com/bid/98315
http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783
http://security.gentoo.org/glsa/201710-09
http://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup
http://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