CVE-2020-7065: PHP - Buffer Overflow
- Cve: CVE-2020-7065
- Name: PHP - Buffer Overflow
- 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.
- Impact: Memory corruption could lead to crashes or arbitrary code execution on the server.
- Remediation: Update PHP to version 7.3.16, 7.4.4, or later versions.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.04869
- Epss percentile: 0.92263
- Assignee: [email protected]
- Published at: 2020-04-01T04:15:13Z
- Age in days: 2428
- Modified at: 2026-06-17T03:24:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 8
- Products total: 4
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-7065
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-121 | Stack-based Buffer Overflow |
| CWE-787 | Out-of-bounds Write |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.php.net/bug.php?id=79371 | nvd | 2020-04-01 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugs.php.net/bug.php?id=79371 | Exploit, Issue Tracking, Patch, Vendor Advisory |
| https://www.oracle.com/security-alerts/cpuoct2021.html | Patch, Third Party Advisory |
| https://www.php.net/ChangeLog-7.php#7.4.4 | Release Notes, Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20200403-0001/ | Third Party Advisory |
| https://usn.ubuntu.com/4330-1/ | Third Party Advisory |
| https://usn.ubuntu.com/4330-2/ | Third Party Advisory |
| https://www.debian.org/security/2020/dsa-4719 | Third Party Advisory |
| https://www.tenable.com/security/tns-2021-14 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| php:php | >= 7.4.0, < 7.4.4; >= 7.3.0, < 7.3.16 | /v1/products/php/php |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 20.04, = 19.10, = 18.04, = 16.04, = 14.04, = 12.04 | /v1/products/canonical/ubuntu_linux |
| tenable:tenable.sc | < 5.19.0 | /v1/products/tenable/tenable.sc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2020-04-01
- Remote: yes
- Hackerone reports: 2
- Exposed hosts: 21216412
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since