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 trend (30 days)EPSS over the last 30 days for CVE-2020-7065: held from 0.049 to 0.049.

EPSS over last 30 days · oldest: 0.049 · newest: 0.049 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.