Skip to main content
HIGH

CVE-2020-7065

CVSS v3

8.8

HIGH

EPSS Score

4.9 %

exploit probability, as of 2026-10-20

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for php.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • phpBitnamifrom 7.3.0 · fixed in 7.3.16and 2 other packages
  • apcu-panelAlmaLinux:8all versions · fixed in 5.1.17-1.module_el8.3.0+2009+b272fdef
  • libzipAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.4.0+2229+b272fdef
  • libzip-develAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.5.0+152+112d3b8c
  • libzip-toolsAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.3.0+2009+b272fdef
  • phpAlmaLinux:8all versions · fixed in 7.3.20-1.module_el8.3.0+2009+b272fdefand 7 other packages
  • php-dbaAlmaLinux:8all versions · fixed in 7.3.20-1.module_el8.4.0+2229+b272fdefand 9 other packages
  • php-gdAlmaLinux:8all versions · fixed in 7.3.20-1.module_el8.5.0+152+112d3b8cand 8 other packages

6 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-7065 Red Hat Product Security605 products fixed

    php: Using mb_strtolower() function with UTF-32LE encoding leads to potential code execution

  • ICSA-26-027-02 CISA1 known affected

    Festo Didactic SE MES PC

    Festo Didactic SE MES PC shipped with Windows 10

  • RHSA-2020:5275 Red Hat Product Security304 products fixed

    Red Hat Security Advisory: rh-php73-php security, bug fix, and enhancement update

  • RHSA-2020:3662 Red Hat Product Security301 products fixed

    Red Hat Security Advisory: php:7.3 security, bug fix, and enhancement update

Full record on NVD

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.

Technical details

Published
2020-04-01

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.

Is CVE-2020-7065 actively exploited?

Active exploitation of CVE-2020-7065 has not been confirmed. Its EPSS score was 4.9% on 2026-10-20, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-7065?

CVE-2020-7065 has a CVSS v3 base score of 8.8 (HIGH severity).

Running php? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month