Buffer overflow in PHP
CVE-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 to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.049, 92.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- PHP Group — versions 7.3.x, 7.4.x
- Tenable Tenable.sc
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, imhunterand/hackerone-publicy-disclosed, RClueX/Hackerone-Reports). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-4330-1 (vendor-advisory, Third Party Advisory)
- USN-4330-2 (vendor-advisory, Third Party Advisory)
- DSA-4719 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20200403-0001/ (Third Party Advisory)
- www.oracle.com/security-alerts/cpuoct2021.html (Patch, Third Party Advisory)
- bugs.php.net/bug.php (Exploit, Patch, Issue Tracking, Vendor Advisory)
- www.php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- www.tenable.com/security/tns-2021-14 (Third Party Advisory)