8.8

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

Modified
AliasesUBUNTU-CVE-2020-7065DEBIAN-CVE-2020-7065ALPINE-CVE-2020-7065
Published 01-04-2020Last modified 17-09-2024

Vulnerability summary

CVE-2020-7065 is a high (CVSS 8.8) Stack-based Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 4.88% chance of exploitation in the next 30 days, higher than 92% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
4.88%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 6 · Related 2

Timeline

  1. 01-04-2020
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

4.88%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

No change 0.00 pp

From 4.88% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Alpine1 product
  • php7< 7.3.16-r0
Canonical1 product
  • ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 18.04 | 19.10 | 20.04
Php1 product
  • php≥ 7.3.0, < 7.3.16 | ≥ 7.4.0, < 7.4.4
Php group1 product
  • php≥ 7.3.x, < 7.3.16 | ≥ 7.4.x, < 7.4.4
Tenable1 product
Ubuntu1 product
  • php7.4< 7.4.3-4ubuntu1.1

7 vendors · 8 products

References

15 links
Show all 15 references