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

7.4HIGH

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
1 April 2020

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.

Affected Version(s)

PHP 7.3.x < 7.3.16

PHP 7.4.x < 7.4.4

References

EPSS Score

8% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.4
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

anatoly dot trosinenko at gmail dot com
.
CVE-2020-7065 : mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full