8.8

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

Modified
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.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.0 (CVE.org)
EPSS score
3.55%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

90%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.55% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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