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 over last 30 days · oldest: 0.035 · newest: 0.035 · change: 0.000
Affected products
- Libsdl Sdl2 Image — versions 2.0.4
- openSUSE Backports Sle — versions 15.0
- openSUSE Leap — versions 15.0, 15.1
- Sdl — versions SDL_image 2.0.4
Weakness classification (CWE)
References
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html (vendor-advisory, Mailing List, Third Party Advisory)
- talosintelligence.com/vulnerability_reports/TALOS-2019-0843 (Third Party Advisory)
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.