8.8

CVE-2019-5059: libsdl sdl2_image Integer Overflow or Wraparound

CVSS: 8.8v3.0HighModified
AliasesALPINE-CVE-2019-5059UBUNTU-CVE-2019-5059DEBIAN-CVE-2019-5059
Published 31-07-2019Last modified 04-08-2024

Vulnerability summary

CVE-2019-5059 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in libsdl sdl2_image. EPSS estimates a 3.55% chance of exploitation in the next 30 days, higher than 89.1% of scored vulnerabilities.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.0 (CVE.org)
EPSS score
3.55%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 4

Timeline

  1. 31-07-2019
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 5 sources · 3 versions

EPSS trend

Probability

3.55%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

+0.03 pp

From 3.52% on 18-09-2026

18-09-202618-10-2026
EPSS score
3.55%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • libsdl2-image< 2.0.5+dfsg1-1
  • sdl-image1.2< 1.2.12-12
Opensuse2 products
Alpine1 product
  • sdl2_image< 2.0.5-r0
Libsdl1 product
Ubuntu1 product
  • libsdl2-imageAll versions (No fix recorded) | < 2.0.5+dfsg1-1

5 vendors · 7 products

References

9 links