Buffer overflow in Libsdl Sdl2 Image

CVE-2019-5059

An exploitable code execution vulnerability exists in the XPM image rendering functionality of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow, allocating too small of a buffer. This buffer can then be written out of bounds resulting in a heap overflow, ultimately ending in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.035 (88.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-5059: held from 0.035 to 0.035.

EPSS over last 30 days · oldest: 0.035 · newest: 0.035 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-5059?
CVE-2019-5059 is a high-severity vulnerability in Libsdl Sdl2 Image, classified under Integer Overflow or Wraparound. CVSS score: 8.8/10. Published 2019-07-31.
How severe is CVE-2019-5059?
High severity. CVSS v3 base score is 8.8 out of 10.