# CVE-2020-7065: mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full

- Severity: High 7.4 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.87%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-01T03:35:13.554Z
- Modified: 2026-09-08T08:48:24.666Z
- Also known as: BIT-LIBPHP-2020-7065, BIT-PHP-2020-7065, BIT-PHP-MIN-2020-7065
- Weaknesses: CWE-121, CWE-787
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 7.3.x before 7.3.16; from 7.4.x before 7.4.4
- php php: from 7.3.0 before 7.3.16; from 7.4.0 before 7.4.4
- debian debian_linux: 10.0
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 19.10; 20.04
- tenable tenable.sc: before 5.19.0
- libphp (Bitnami): from 7.3.0 before 7.3.16; from 7.4.0 before 7.4.4
- php (Bitnami): from 7.3.0 before 7.3.16; from 7.4.0 before 7.4.4
- php-min (Bitnami): from 7.3.0 before 7.3.16; from 7.4.0 before 7.4.4

## Every score

- php: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugs.php.net/bug.php?id=79371> (exploit, advisory, issue-tracking, patch, vendor-advisory)
- <https://usn.ubuntu.com/4330-1/> (advisory, third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4330-2/> (advisory, third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4719> (advisory, third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20200403-0001/> (advisory, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://www.php.net/ChangeLog-7.php#7.4.4> (advisory, release-notes, vendor-advisory)
- <https://www.tenable.com/security/tns-2021-14> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7065> (web)

## Sources

- CVE List: [CVE-2020-7065](https://www.cve.org/CVERecord?id=CVE-2020-7065), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2020-7065](https://nvd.nist.gov/vuln/detail/CVE-2020-7065), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2020-7065](https://osv.dev/vulnerability/BIT-LIBPHP-2020-7065), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2020-7065](https://osv.dev/vulnerability/BIT-PHP-2020-7065), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2020-7065](https://osv.dev/vulnerability/BIT-PHP-MIN-2020-7065), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-7065 · Whole record: https://cve.day/CVE-2020-7065.json · Rebuilt by cve.day 2026-11-25T22:57:51.729Z
