CVE-2020-7065

HIGHCVSS 8.8/10EPSS 4.74%

Last modified

CVE-2020-7065 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 4.74% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
4.74%

90.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp>= 7.3.0, < 7.3.16
PhpPhp>= 7.4.0, < 7.4.4
DebianDebian Linux10.0
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.10
CanonicalUbuntu Linux20.04
TenableTenable.Sc< 5.19.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2020-7065?
CVE-2020-7065 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 4.74% probability of exploitation in the next 30 days.
How do I fix CVE-2020-7065?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-7065?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST