Stack Buffer Overflow in mb_strtolower() Function in PHP Versions 7.3.x and 7.4.x

Stack Buffer Overflow in mb_strtolower() Function in PHP Versions 7.3.x and 7.4.x

CVE-2020-7065 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.

Learn more about our Web Application Penetration Testing UK.