8.8

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

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

Vulnerability summary

CVE-2019-5060 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in libsdl sdl2_image. EPSS estimates a 3.97% chance of exploitation in the next 30 days, higher than 90.3% of scored vulnerabilities. 1 public exploit is recorded.

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

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 function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, 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.97%

Chance of exploitation in the next 30 days

Percentile

90%

Versus all other CVEs

30-day change

0.00 pp

From 3.97% on 18-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (talosintelligence.com)

    Maturity: unknown

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