Name | CVE-2019-5058 |
Description | An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2.0.4. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 932754, 932755 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libsdl2-image (PTS) | jessie, jessie (lts) | 2.0.0+dfsg-3+deb8u2 | fixed |
| stretch | 2.0.1+dfsg-2+deb9u2 | fixed |
| stretch (security), stretch (lts) | 2.0.1+dfsg-2+deb9u1 | vulnerable |
| buster | 2.0.4+dfsg1-1+deb10u1 | fixed |
| bullseye | 2.0.5+dfsg1-2 | fixed |
| bookworm | 2.6.3+dfsg-1 | fixed |
| sid, trixie | 2.8.4+dfsg-1 | fixed |
sdl-image1.2 (PTS) | jessie, jessie (lts) | 1.2.12-5+deb8u2 | fixed |
| stretch | 1.2.12-5+deb9u2 | fixed |
| stretch (security), stretch (lts) | 1.2.12-5+deb9u1 | vulnerable |
| buster | 1.2.12-10+deb10u1 | fixed |
| bullseye | 1.2.12-12 | fixed |
| bookworm | 1.2.12-13 | fixed |
| sid, trixie | 1.2.12-14 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0842
https://hg.libsdl.org/SDL_image/rev/b1a80aec2b10
CVE-2019-5058 can be considered a CVE for an incomplete fix for CVE-2018-3977.