CVE-2020-7065
No exploitation reported by the sources we read.
- Published2020-04-01
- Fixed in7.4.4 · 7.3.16
- WeaknessCWE-121 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2020-04-0104:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.4 | ≥ 7.4.0, < 7.4.4 | 7.4.4 | NVD · OSV |
| 7.3 | ≥ 7.3.0, < 7.3.16 | 7.3.16 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.4 | = 12.04 | no fix published | NVD |
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 19.10 | = 19.10 | no fix published | NVD |
| 20.4 | = 20.04 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libzipRocky Linux:8all versions · fixed in 0:1.5.2-1.module+el8.4.0+414+2e7afcdd
- libzipRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.5.2-1.module+el8.1.0+3189+a1bff096and 5 other packages
- libzipAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.3.0+2009+b272fdefand 2 other packages
- libzipAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.4.0+2229+b272fdefand 2 other packages
- libzipAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.5.0+152+112d3b8cand 2 other packages
- phpRocky Linux:8all versions · fixed in 0:7.3.20-1.module+el8.4.0+414+2e7afcdd
- phpRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdefand 53 other packages
- phpMageia:7all versions · fixed in 7.3.16-1.mga7
37 more package ranges on OSV.dev
Vendor advisories
php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution
Festo Didactic SE MES PC
Festo Didactic SE MES PC shipped with Windows 10
Red Hat Security Advisory: rh-php73-php security, bug fix, and enhancement update
Red Hat Security Advisory: php:7.3 security, bug fix, and enhancement update
Fix
- Update PHP to 7.4.4 · 7.3.16
- Vendor fix CISA ICSA-26-027-02 · 1 productFesto Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
- Vendor fix Red Hat Product Security RHSA-2020:5275 · 304 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon must be restarted for the update to take effect.
Advisories and patches
- bugs.php.netPatch · Vendor Advisory
- www.oracle.comPatch
- www.php.netRelease Notes · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.17.4known since 2026-10-23
- NVDCVSS 3.18.8read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- CNAweakness (CWE)CWE-121known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score4.9 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-libphp-2020-7065same flawBitnami · Apache-2.0
- BIT-php-2020-7065same flawBitnami · Apache-2.0
- BIT-php-min-2020-7065same flawBitnami · Apache-2.0
- EUVD-2020-28199same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-hpqg-gp78-43q4same flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2020:3662advisory covering several CVEsAlmaLinux · MIT
- DSA-4719-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2020-0148advisory covering several CVEsMageia · LicenseRef-unstated
- RHSA-2020:3662advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:5275advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2020:3662advisory covering several CVEsRocky Linux · BSD-3-Clause
- USN-4330-1advisory covering several CVEsUbuntu
- USN-4330-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2020-04-01
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-hpqg-gp78-43q4
Frequently asked questions
What is CVE-2020-7065?
Is CVE-2020-7065 actively exploited?
What is the CVSS score for CVE-2020-7065?
Running PHP? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-hpqg-gp78-43q4
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0