Out-of-bounds write in Oniguruma - CVE-2020-26159

 

Out-of-bounds write in Oniguruma - CVE-2020-26159

Published: September 30, 2020 / Updated: October 14, 2020


Vulnerability identifier: #VU47647
CSH Severity: High
CVSS v4.0: 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-2020-26159
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: K.Kosako
Affected software:
Oniguruma

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

In Oniguruma 6.9.5_rev1, an attacker able to supply a regular expression for compilation may be able to overflow a buffer by one byte in concat_opt_exact_str in src/regcomp.c .


How to mitigate CVE-2020-26159

Install update from vendor's website.

Sources