CVE-2019-11042: Out-of-bounds Read in PHP EXIF exif_read_data()
- Vendors
- Debian ProjectAppleOpensusePHP GroupRed HatTenableCanonical
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-11042 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2019-11042 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2019-11042?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2019-11042.
- Is there a patch for CVE-2019-11042?
- 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.
- What products are affected by CVE-2019-11042?
- PHP Group Php, Debian Project Debian Linux, Apple Mac Os X, Opensuse Leap, Red Hat Software Collections, and 2 more.
- How severe is CVE-2019-11042?
- CVE-2019-11042 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 4.4% (91st percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.