CVE-2019-5060
Reported by talos · Published July 31, 2019
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | SDL | SDL_image 2.0.4 |
| n/a | SDL | 2.0.4 |
Timeline
- Jul 31, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Apr 5, 2026 Security Advisory (9 in total, the first dated here)
- Sep 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-5060
vulnetix vdb fixes CVE-2019-5060
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-5060/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- openSUSE-SU-2019:2070 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2071 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2109 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2108 vendor-advisoryx_refsource_SUSE
- x_refsource_MISC