# CVE-2019-5060

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2019-07-31 · Modified: 2024-08-04
- Aliases: ALPINE-CVE-2019-5060, UBUNTU-CVE-2019-5060, DEBIAN-CVE-2019-5060
- Record: https://cvemate.com/vulnerability/CVE-2019-5060 · JSON: https://cvemate.com/vulnerability/CVE-2019-5060/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 3.969%, percentile 90.773%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine sdl2\_image (Alpine Linux): \< 2.0.5-r0
- debian libsdl2-image (Debian): \< 2.0.5+dfsg1-1
- debian sdl-image1.2 (Debian): \< 1.2.12-12
- ubuntu libsdl2-image (Ubuntu): All versions (No fix recorded) \| \< 2.0.5+dfsg1-1
- libsdl sdl2\_image: 2.0.4
- opensuse backports\_sle: 15.0 \| 15.0:sp1
- opensuse leap: 15.0 \| 15.1

## References

- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html>
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html>
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.html>
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html>
- <https://talosintelligence.com/vulnerability_reports/TALOS-2019-0844>
- <https://security.alpinelinux.org/vuln/CVE-2019-5060>
- <https://ubuntu.com/security/CVE-2019-5060>
- <https://www.cve.org/CVERecord?id=CVE-2019-5060>
- <https://security-tracker.debian.org/tracker/CVE-2019-5060>

---

Data as of 2026-12-05T03:51:03.012Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
