Back
CVE-2020-7065
mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full
High7.4EPSS 4.9%
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| phpCNA (assigner) | 3.1 | High7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 4.9% · top 7.9% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.4.
Weakness
Affected products
References (8)
- USN-4330-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-4330-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- DSA-4719 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://security.netapp.com/advisory/ntap-20200403-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.php.net/bug.php?id=79371 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.php.net/ChangeLog-7.php#7.4.4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.tenable.com/security/tns-2021-14 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7065)Record last updated .