Buffer overflow in PCRE PCRE2



Published: 2017-05-01 | Updated: 2020-07-18
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-8399
CWE-ID CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
PCRE2
Universal components / Libraries / Libraries used by multiple products

Vendor PCRE

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU31422

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 - Memory corruption

Exploit availability: No

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.



###SIDEBAR###