CVE-2019-11036CWE-126

Heap over-read in PHP EXIF extension

Medium · published May 3, 2019

CVSS v3.0
4.8
EPSS
7%
Percentile
94.2
In the wild
Unconfirmed
What it is

⚠️ A simple file can cause PHP's EXIF extension to spill its guts! If you're running versions 7.1.x below 7.1.29, 7.2.x below 7.2.18, or 7.3.x below 7.3.5, watch out! Think of it as a restaurant that serves food with a side of surprise ingredients — if the chef doesn't check the recipe closely, diners might end up with unexpected dishes. Similarly, a mismanaged buffer can lead to unexpected data leaking from your PHP app. An attacker can potentially exploit this flaw to read sensitive information from memory or cause a crash. While it’s not the end of the world, exposing any unwanted data is still a big no-no in the security realm!

Put simply

Think of it as a restaurant that serves food with a side of surprise ingredients — if the chef doesn't check the recipe closely, diners might end up with unexpected dishes. Similarly, a mismanaged buffer can lead to unexpected data leaking from your PHP app. This vulnerability arises from improper handling of certain files in the PHP EXIF extension, leading to buffer over-read in the `exif_process_IFD_TAG` function. It can potentially result in information disclosure or crashes by reading beyond the allocated memory.

What to do

An attacker can potentially exploit this flaw to read sensitive information from memory or cause a crash. While it’s not the end of the world, exposing any unwanted data is still a big no-no in the security realm! Update PHP to versions 7.1.29, 7.2.18, or 7.3.5 or later to patch this vulnerability. Always make sure to regularly monitor and apply updates to keep your applications secure! You've got this! With these updates, you're on your way to being a security hero! 🦸

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.07031 · 94.2th percentile
Weakness
CWE-126 · Buffer Over-read
Published
2019-05-03T19:28Z
EPSS history
Timeline
  • 03 MAY 19:28Z
    Heap over-read in PHP EXIF extension
    cvelistv5