---
title: "CVE-2019-5060\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2019-5060?format=md
keywords: index, follow
---

# CVE-2019-5060

Publication date 31 July 2019

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2019-5060?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libsdl2-image | 26.04 LTS resolute | Fixed 2.0.5+dfsg1-1 |
| 25.10 questing | Fixed 2.0.5+dfsg1-1 |
| 25.04 plucky | Fixed 2.0.5+dfsg1-1 |
| 24.10 oracular | Fixed 2.0.5+dfsg1-1 |
| 24.04 LTS noble | Fixed 2.0.5+dfsg1-1 |
| 23.10 mantic | Fixed 2.0.5+dfsg1-1 |
| 23.04 lunar | Fixed 2.0.5+dfsg1-1 |
| 22.10 kinetic | Fixed 2.0.5+dfsg1-1 |
| 22.04 LTS jammy | Fixed 2.0.5+dfsg1-1 |
| 21.10 impish | Fixed 2.0.5+dfsg1-1 |
| 21.04 hirsute | Fixed 2.0.5+dfsg1-1 |
| 20.10 groovy | Fixed 2.0.5+dfsg1-1 |
| 20.04 LTS focal | Fixed 2.0.5+dfsg1-1 |
| 19.10 eoan | Fixed 2.0.5+dfsg1-1 |
| 19.04 disco | Ignored end of life |
| 18.04 LTS bionic | Vulnerable |
| 16.04 LTS xenial | Vulnerable |
| 14.04 LTS trusty | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5060)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-5060)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2019-5060)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2019-5060)

### Other references

* <https://talosintelligence.com/vulnerability_reports/TALOS-2019-0844>
* <https://www.cve.org/CVERecord?id=CVE-2019-5060>
