CVE-2019-11035CWE-125

Heap over-read in PHP EXIF extension

Medium · published April 18, 2019

CVSS v3.0
4.8
EPSS
4%
Percentile
91.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky buffer overflow is hiding in the PHP EXIF extension! If you're running versions 7.1.x below 7.1.28, 7.2.x below 7.2.17, or 7.3.x below 7.3.4, you might be at risk! 🔍 Think of this vulnerability like a restaurant where the chef is so focused on the main dish that they neglect to check the portion sizes — suddenly, you’re left with a mess on the floor because they overfilled the plates! This flaw allows a maliciously crafted file to force the PHP EXIF extension to read beyond its limits, potentially exposing sensitive information or even crashing the application. The chaos caused by this overflow could leave your server vulnerable to unwanted surprises!

Put simply

Think of this vulnerability like a restaurant where the chef is so focused on the main dish that they neglect to check the portion sizes — suddenly, you’re left with a mess on the floor because they overfilled the plates! The PHP EXIF extension fails to properly handle certain file inputs in the `exif_iif_add_value` function, leading to information disclosure or crashes due to buffer overflow.

What to do

This flaw allows a maliciously crafted file to force the PHP EXIF extension to read beyond its limits, potentially exposing sensitive information or even crashing the application. The chaos caused by this overflow could leave your server vulnerable to unwanted surprises! To protect your application, immediately update PHP to version 7.1.28, 7.2.17, or 7.3.4 or later. Additionally, audit all files processed by the EXIF extension for potential risks. 🛡️ You've got this! Keep your systems updated and secure, and you’ll be a security hero in no time! 💪✨

The record
Technical detail
CVSS v3.0
4.8 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.04409 · 91.3th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2019-04-18T16:57Z
EPSS history
Timeline
  • 18 APR 16:57Z
    Heap over-read in PHP EXIF extension
    cvelistv5