VULNERABILITY INTELLIGENCE
CVE-2019-5060
CVSS score8.8 HIGH
EPSS probability3.97%
CISA KEVNot currently listed
Published2019-07-31
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-190: Integer Overflow or Wraparound
- CWE-787: Out-of-bounds Write
Primary references
- talos-cna@cisco.com — Mailing List, Third Party Advisory
- talos-cna@cisco.com — Mailing List, Third Party Advisory
- talos-cna@cisco.com — Mailing List, Third Party Advisory
- talos-cna@cisco.com — Mailing List, Third Party Advisory
- talos-cna@cisco.com — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory