CVE-2020-7064
PHP vulnerability analysis and mitigation

Overview

In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, a vulnerability was discovered in the exif_read_data() function that could allow malicious data to cause PHP to read one byte of uninitialized memory. This vulnerability, identified as CVE-2020-7064, was disclosed in April 2020 (CVE-MITRE, NVD).

Technical details

The vulnerability exists in the EXIF data parsing functionality of PHP when using the exif_read_data() function. When processing maliciously crafted EXIF data, the function could read one byte of uninitialized memory. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L (NETAPP-ADVISORY).

Impact

The successful exploitation of this vulnerability could potentially lead to information disclosure or cause the application to crash. The unauthorized access to uninitialized memory could expose sensitive information from the system's memory (UBUNTU-SECURITY).

Exploitability

The vulnerability requires user interaction and can be exploited by processing specially crafted EXIF data through the affected function. The attack complexity is considered low, requiring no special privileges for exploitation (NETAPP-ADVISORY).

Mitigation and workarounds

The vulnerability has been fixed in PHP versions 7.2.29, 7.3.16, and 7.4.4. Users are advised to upgrade to these or later versions. Multiple Linux distributions have also released security updates to address this vulnerability, including Ubuntu, Debian, and OpenSUSE (DEBIAN-SECURITY, UBUNTU-SECURITY).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management