Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
PHP Group PHP
7.3.x to < 7.3.16affected7.4.x to < 7.4.4affected
References
- https://usn.ubuntu.com/4330-1/ ↗
- https://usn.ubuntu.com/4330-2/ ↗
- https://www.debian.org/security/2020/dsa-4719 ↗
- https://security.netapp.com/advisory/ntap-20200403-0001/ ↗
- https://www.oracle.com/security-alerts/cpuoct2021.html ↗
- https://bugs.php.net/bug.php?id=79371 ↗
- https://www.php.net/ChangeLog-7.php#7.4.4 ↗
- https://www.tenable.com/security/tns-2021-14 ↗