Out-of-bounds Read in PHP EXIF exif_read_data()
A vulnerability exists in the PHP EXIF extension in versions 7.1.x before 7.1.31, 7.2.x before 7.2.21, and 7.3.x before 7.3.8, where the exif_read_data() function can be supplied with specially crafted image data that causes it to read past the allocated buffer. This out-of-bounds read can result in information disclosure or a crash of the PHP process.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can supply a malicious image to a PHP application using exif_read_data(), potentially causing the application to disclose sensitive memory contents or crash, leading to denial of service. The vulnerability is limited to information disclosure and denial of service, not code execution.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable the EXIF extension or avoid using exif_read_data() on untrusted images as a temporary mitigation.
Patch, then assume compromise.
Upgrade PHP to version 7.1.31, 7.2.21, 7.3.8 or later, where the issue has been fixed in the EXIF extension.
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.