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 (91.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 91.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.049 · newest: 0.049 · change: 0.000
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 proof-of-concept exploits
References
- usn.ubuntu.com/4330-1/ (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/4330-2/ (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2020/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)
Frequently asked questions
- What is CVE-2020-7065?
- CVE-2020-7065 is a high-severity vulnerability in PHP, classified under Stack-based Buffer Overflow. CVSS score: 7.4/10. Published 2020-04-01.
- How severe is CVE-2020-7065?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2020-7065 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.