Name | CVE-2019-5060 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
NVD severity | medium |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libsdl2-image (PTS) | stretch | 2.0.1+dfsg-2+deb9u2 | vulnerable |
stretch (security) | 2.0.1+dfsg-2+deb9u1 | vulnerable | |
buster | 2.0.4+dfsg1-1+deb10u1 | vulnerable | |
bullseye, sid | 2.0.5+dfsg1-2 | fixed | |
sdl-image1.2 (PTS) | stretch | 1.2.12-5+deb9u2 | vulnerable |
stretch (security) | 1.2.12-5+deb9u1 | vulnerable | |
buster | 1.2.12-10+deb10u1 | vulnerable | |
bullseye, sid | 1.2.12-12 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libsdl2-image | source | (unstable) | 2.0.5+dfsg1-1 | |||
sdl-image1.2 | source | (unstable) | 1.2.12-12 |
[buster] - libsdl2-image <no-dsa> (Minor issue)
[stretch] - libsdl2-image <no-dsa> (Minor issue)
[jessie] - libsdl2-image <no-dsa> (Minor issue)
[buster] - sdl-image1.2 <no-dsa> (Minor issue)
[stretch] - sdl-image1.2 <no-dsa> (Minor issue)
[jessie] - sdl-image1.2 <no-dsa> (Minor issue)
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0844
https://hg.libsdl.org/SDL_image/rev/26061e601c81