CVE-2020-7065

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

State
Published
Severity
7.4 High
Published
Apr 1, 2020
Updated
Sep 17, 2024
Reserved
Jan 15, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:Hphp

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
PHPPHP Group
  • 7.3.x to before 7.3.16Affected
  • 7.4.x to before 7.4.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.