CVE-2019-5059
Publication date 31 July 2019
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libsdl2-image | 25.10 questing |
Fixed 2.0.5+dfsg1-1
|
| 25.04 plucky |
Fixed 2.0.5+dfsg1-1
|
|
| 24.04 LTS noble |
Fixed 2.0.5+dfsg1-1
|
|
| 22.04 LTS jammy |
Fixed 2.0.5+dfsg1-1
|
|
| 20.04 LTS focal |
Fixed 2.0.5+dfsg1-1
|
|
| 18.04 LTS bionic |
Vulnerable
|
|
| 16.04 LTS xenial |
Vulnerable
|
|
| 14.04 LTS trusty |
Needs evaluation
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |