CVE-2020-7065
HIGH8.8EPSS 5.0%mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full
Published: 4/1/2020Modified: 4/28/2026
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 packages (4)
- Bitnami/libphp>= 7.3.0, < 7.3.16, >= 7.4.0, < 7.4.4
- Bitnami/php>= 7.3.0, < 7.3.16, >= 7.4.0, < 7.4.4
- Bitnami/php-min>= 7.3.0, < 7.3.16, >= 7.4.0, < 7.4.4
- Debian/php7.4from 0, < 7.4.5-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (10)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-7065
- WEBhttps://bugs.php.net/bug.php?id=79371
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2020-7065
- WEBhttps://security.netapp.com/advisory/ntap-20200403-0001/
- WEBhttps://usn.ubuntu.com/4330-1/
- WEBhttps://usn.ubuntu.com/4330-2/
- WEBhttps://www.debian.org/security/2020/dsa-4719
- WEBhttps://www.oracle.com/security-alerts/cpuoct2021.html
- WEBhttps://www.php.net/ChangeLog-7.php#7.4.4
- WEBhttps://www.tenable.com/security/tns-2021-14