Name | CVE-2018-3977 |
Description | An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. 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) |
References | DLA-1861-1, DLA-1865-1 |
Debian Bugs | 912617, 912618 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libsdl2-image (PTS) | bullseye | 2.0.5+dfsg1-2 | fixed |
| bookworm | 2.6.3+dfsg-1 | fixed |
| sid, trixie | 2.8.2+dfsg-1 | fixed |
sdl-image1.2 (PTS) | 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-2018-0645
https://hg.libsdl.org/SDL_image/rev/170d7d32e4a8
follow-up fix (TALOS-2019-0842): https://hg.libsdl.org/SDL_image/rev/b1a80aec2b10
which got a separate CVE assigned as CVE-2019-5058.