php php CVE-2020-7065 vulnerability in PHP and Other Products
Published on April 1, 2020

mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full

product logo product logo product logo product logo
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.

Vendor Advisory Vendor Advisory Vendor Advisory NVD

Vulnerability Analysis

CVE-2020-7065 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, a high impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Stack Overflow Vulnerability?

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

CVE-2020-7065 has been classified to as a Stack Overflow vulnerability or weakness.


Products Associated with CVE-2020-7065

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2020-7065 are published in these products:

PHP
 
 
 
 

Affected Versions

PHP Group PHP:

Exploit Probability

EPSS
5.98%
Percentile
90.55%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.