ADVISORIES

CVE Program

CNA-CVE-2020-7065

mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full

Details

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.

Affected packages

EcosystemPackageAffected versions
PHPphp
From 7.3 before 7.3.16 (fixed in 7.3.16)
From 7.4 before 7.4.4 (fixed in 7.4.4)

References