CVE-2019-11040

Heap buffer overflow in EXIF extension

CRITICAL
9.1
CVSS Score
Published: June 18, 2019 at 11:28 PM UTC
Updated: June 17, 2026 at 02:12 AM UTC
4 products affected across 4 vendorsDebian LinuxLeapPHP

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
CRITICAL9.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.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6 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.

PHP· PHPdrupal
95%
7.1.0 ≤ v < 7.1.307.2.0 ≤ v < 7.2.197.3.0 ≤ v < 7.3.67.1.307.2.197.3.6
Affected range stops below 7.1.30, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.2.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.6, so it looks safe — our inference, not a vendor statement

References (8)

Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00029.html
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:2519
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:3299
x_refsource_CONFIRMExploitMailing ListVendor Advisory
https://bugs.php.net/bug.php?id=77988
Mailing Listx_refsource_BUGTRAQThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/35
Mailing Listx_refsource_BUGTRAQThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/38
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2019/dsa-4527
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2019/dsa-4529

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
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