CVE-2019-5060
8.8
HIGH
CVSS 3.1
EPSS 1.3%
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.
How to fix CVE-2019-5060
To remediate CVE-2019-5060, upgrade the affected package to a fixed version below.
- —upgrade to 2.0.5-r0 or later
- —upgrade to 2.0.5+dfsg1-1 or later
- —upgrade to 1.2.12-12 or later
Is CVE-2019-5060 being exploited?
Low — EPSS is 1.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.0.5-r0
- from 0, < 2.0.5+dfsg1-1
- from 0, < 1.2.12-12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |