CVE-2020-7065
published 2020-04-01CVE-2020-7065: 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…
PriorityP346high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
4.76%
90.8th percentile
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
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | php7.4 | < php7.4 7.4.5-1 (bullseye) | php7.4 7.4.5-1 (bullseye) |
| php | php | >= 7.3.0 < 7.3.16 | 7.3.16 |
| php | php | >= 7.4.0 < 7.4.4 | 7.4.4 |
| php5 | php5 | >= 0 < 5.5.9+dfsg-1ubuntu4.29+esm11 | 5.5.9+dfsg-1ubuntu4.29+esm11 |
| php_group | php | >= 7.3.x < 7.3.16 | 7.3.16 |
| php_group | php | >= 7.4.x < 7.4.4 | 7.4.4 |
| tenable | tenable.sc | < 5.19.0 | 5.19.0 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_ubuntu7.5HIGH
vendor_debian7.4HIGH
vendor_redhat7.4HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-hpqg-gp78-43q4: In PHP versions 7
ghsa_unreviewed·2022-05-24
CVE-2020-7065 [MEDIUM] CWE-787 GHSA-hpqg-gp78-43q4: In PHP versions 7
In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.34, 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.
OSV
php7.4 vulnerabilities
osv·2020-05-06·CVSS 5.4
CVE-2020-7064 [MEDIUM] php7.4 vulnerabilities
php7.4 vulnerabilities
USN-4330-1 fixed vulnerabilities in PHP. This update provides the corresponding
update for Ubuntu 20.04 LTS.
Original advisory details:
It was discovered that PHP incorrectly handled certain EXIF files.
An attacker could possibly use this issue to access sensitive information
or cause a crash. (CVE-2020-7064)
It was discovered that PHP incorrectly handled certain UTF strings.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2020-7065)
It was discovered that PHP incorrectly handled certain URLs.
An attacker could possibly use this issue to expose sensitive information.
(CVE-2020-7066)
OSV
php5, php7.0, php7.2, php7.3 vulnerabilities
osv·2020-04-15·CVSS 7.5
CVE-2020-7062 [HIGH] php5, php7.0, php7.2, php7.3 vulnerabilities
php5, php7.0, php7.2, php7.3 vulnerabilities
It was discovered that PHP incorrectly handled certain file uploads.
An attacker could possibly use this issue to cause a crash.
(CVE-2020-7062)
It was discovered that PHP incorrectly handled certain PHAR archive files.
An attacker could possibly use this issue to access sensitive information.
(CVE-2020-7063)
It was discovered that PHP incorrectly handled certain EXIF files.
An attacker could possibly use this issue to access sensitive information
or cause a crash. (CVE-2020-7064)
It was discovered that PHP incorrectly handled certain UTF strings.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. This issue only affected Ubuntu 19.10. (CVE-2020-7065)
It was discovered that PHP incorrectly handled certain
OSV
CVE-2020-7065: In PHP versions 7
osv·2020-04-01·CVSS 8.8
CVE-2020-7065 [HIGH] CVE-2020-7065: In PHP versions 7
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.
CISA ICS
Festo Didactic SE MES PC
cisa_ics·2026-01-27·CVSS 7.5
[HIGH] Festo Didactic SE MES PC
ICS Advisory
##
Festo Didactic SE MES PC
Release DateJanuary 27, 2026
Alert CodeICSA-26-027-02
Related topics:
Industrial Control System Vulnerabilities, Industrial Control Systems
View CSAF
## Summary
MES PCs shipped with Windows 10 come pre-installed with XAMPP. XAMPP is a bundle of third-party open-source applications including the Apache HTTP Server, the MariaDB database and more. From time to time, vulnerabilities in these applications are discovered. These are fixed in newer versions of XAMPP by updating the bundled applications. MES PCs shipped with Windows 10 include a copy of XAMPP which contains around 140 such vulnerabilities listed in this advisory. They can be fixed by replacing XAMPP with Festo Didactic's Factory Control Panel application.
The
Ubuntu
PHP vulnerabilities
vendor_ubuntu·2020-05-06·CVSS 6.5
CVE-2020-7064 [MEDIUM] PHP vulnerabilities
Title: PHP vulnerabilities
Summary: Several security issues were fixed in PHP.
USN-4330-1 fixed vulnerabilities in PHP. This update provides the corresponding
update for Ubuntu 20.04 LTS.
Original advisory details:
It was discovered that PHP incorrectly handled certain EXIF files.
An attacker could possibly use this issue to access sensitive information
or cause a crash. (CVE-2020-7064)
It was discovered that PHP incorrectly handled certain UTF strings.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2020-7065)
It was discovered that PHP incorrectly handled certain URLs.
An attacker could possibly use this issue to expose sensitive information.
(CVE-2020-7066)
Instructions: In general, a standard system update will make all the necessary ch
Ubuntu
PHP vulnerabilities
vendor_ubuntu·2020-04-15·CVSS 7.5
CVE-2020-7062 [HIGH] PHP vulnerabilities
Title: PHP vulnerabilities
Summary: Several security issues were fixed in PHP.
It was discovered that PHP incorrectly handled certain file uploads.
An attacker could possibly use this issue to cause a crash.
(CVE-2020-7062)
It was discovered that PHP incorrectly handled certain PHAR archive files.
An attacker could possibly use this issue to access sensitive information.
(CVE-2020-7063)
It was discovered that PHP incorrectly handled certain EXIF files.
An attacker could possibly use this issue to access sensitive information
or cause a crash. (CVE-2020-7064)
It was discovered that PHP incorrectly handled certain UTF strings.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. This issue only affected Ubuntu 19.10. (CVE-2020-7065)
It was discovered th
Red Hat
php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution
vendor_redhat·2020-04-01·CVSS 7.4
CVE-2020-7065 [HIGH] CWE-805 php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution
php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution
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.
A vulnerability was found in PHP while using the mb_strtolower() function with UTF-32LE encoding, where certain invalid strings cause PHP to overwrite the stack-allocated buffer. This flaw leads to memory corruption, crashes, and potential code execution.
Package: php (Red Hat Enterprise Linux 5) - Not affected
Package: php53 (Red Hat Enterprise Linux 5) - Not affected
Package: php (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2020-7065: php7.4 - In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolo...
vendor_debian·2020·CVSS 7.4
CVE-2020-7065 [HIGH] CVE-2020-7065: php7.4 - In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolo...
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.
Scope: local
bullseye: resolved (fixed in 7.4.5-1)
No detection rules found.
No public exploits indexed.
HackerOne
mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full (CVE-2020-7065)
hackerone·2020-10-21·CVSS 7.4
CVE-2020-7065 [HIGH] mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full (CVE-2020-7065)
mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full (CVE-2020-7065)
PHP bug report (made public by the maintainers at the time of writing): https://bugs.php.net/bug.php?id=79371
Mitre CVE page: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7065
Link to the release notes: https://www.php.net/ChangeLog-7.php#7.4.4
## Impact
One of impacts is that the issue allows an attacker to straightforwardly crash the PHP interpreter provided a specific UTF character can be passed to `mb_strtolower` function dealing with UTF-32LE encoding.
Original summary from the bug report:
> A call to `mb_strtolower` allows overwriting of a stack-allocated buffer with an overflown array from .rodata.
Description as provided by CVE database entry:
> In PHP versions 7.3.x below 7.
Bugzilla
CVE-2020-7065 php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution
bugzilla·2020-04-03·CVSS 7.4
CVE-2020-7065 [HIGH] CVE-2020-7065 php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution
CVE-2020-7065 php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution
A vulnerability was found in PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.34, 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.
Discussion:
Created php tracking bugs for this issue:
Affects: fedora-all [bug 1820629]
---
-A vulnerability was found in PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.34
+A vulnerability was found in PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4
---
It is difficult to trigger these issues in production code, and also depends on the way the PHP script is written. Ther
Bugzilla
CVE-2020-7065 php: by using mb_strtolower() function with UTF-32LE encoding leads to potential code execution [fedora-all]
bugzilla·2020-04-03·CVSS 7.4
CVE-2020-7065 [HIGH] CVE-2020-7065 php: by using mb_strtolower() function with UTF-32LE encoding leads to potential code execution [fedora-all]
CVE-2020-7065 php: by using mb_strtolower() function with UTF-32LE encoding leads to potential code execution [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: t
https://bugs.php.net/bug.php?id=79371https://security.netapp.com/advisory/ntap-20200403-0001/https://usn.ubuntu.com/4330-1/https://usn.ubuntu.com/4330-2/https://www.debian.org/security/2020/dsa-4719https://www.oracle.com/security-alerts/cpuoct2021.htmlhttps://www.php.net/ChangeLog-7.php#7.4.4https://www.tenable.com/security/tns-2021-14https://bugs.php.net/bug.php?id=79371https://security.netapp.com/advisory/ntap-20200403-0001/https://usn.ubuntu.com/4330-1/https://usn.ubuntu.com/4330-2/https://www.debian.org/security/2020/dsa-4719https://www.oracle.com/security-alerts/cpuoct2021.htmlhttps://www.php.net/ChangeLog-7.php#7.4.4https://www.tenable.com/security/tns-2021-14
2020-04-01
Published