CVE-2019-11042

heap-buffer-overflow on exif_process_user_comment in EXIF extension

HIGH
7.1
CVSS Score
Published: August 9, 2019 at 07:26 PM UTC
Updated: June 17, 2026 at 02:12 AM UTC
7 products affected across 7 vendorsmacOSDebian LinuxUbuntu Linux

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 4%

Description

When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the allocated buffer. This may lead to information disclosure or crash.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 10.15.1
Affected range stops below 10.15.1, so it looks safe — our inference, not a vendor statement
PHP· PHPdrupal
95%
7.1.0 ≤ v < 7.1.317.2.0 ≤ v < 7.2.217.3.0 ≤ v < 7.3.87.1.x below 7.1.317.2.x below 7.2.217.3.x below 7.3.8
Affected range stops below 7.1.31, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.2.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.8, so it looks safe — our inference, not a vendor statement
v < 5.19.0
Affected range stops below 5.19.0, so it looks safe — our inference, not a vendor statement

References (17)

Mailing Listx_refsource_FULLDISCThird Party Advisory
http://seclists.org/fulldisclosure/2019/Oct/15
Mailing Listx_refsource_FULLDISCThird Party Advisory
http://seclists.org/fulldisclosure/2019/Oct/55
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:3299
x_refsource_CONFIRMExploitPatchVendor Advisory
https://bugs.php.net/bug.php?id=78256
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/08/msg00010.html
Mailing Listx_refsource_BUGTRAQThird Party Advisory
https://seclists.org/bugtraq/2019/Oct/9
Mailing Listx_refsource_BUGTRAQThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/35

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card