| Name | CVE-2019-5052 |
| Description | An exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. A specially crafted file can cause an integer overflow, resulting in too little memory being allocated, which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1861-1, DLA-1865-1 |
| Debian Bugs | 932754, 932755 |
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 | |
| forky, sid, trixie | 2.8.8+dfsg-1 | fixed | |
| sdl-image1.2 (PTS) | bullseye | 1.2.12-12 | fixed |
| bookworm | 1.2.12-13 | fixed | |
| forky, sid, trixie | 1.2.12-14 | 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 | jessie | 2.0.0+dfsg-3+deb8u2 | DLA-1861-1 | ||
| libsdl2-image | source | stretch | 2.0.1+dfsg-2+deb9u2 | |||
| libsdl2-image | source | buster | 2.0.4+dfsg1-1+deb10u1 | |||
| libsdl2-image | source | (unstable) | 2.0.5+dfsg1-1 | 932754 | ||
| sdl-image1.2 | source | jessie | 1.2.12-5+deb8u2 | DLA-1865-1 | ||
| sdl-image1.2 | source | stretch | 1.2.12-5+deb9u2 | |||
| sdl-image1.2 | source | buster | 1.2.12-10+deb10u1 | |||
| sdl-image1.2 | source | (unstable) | 1.2.12-11 | 932755 |
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0821
https://hg.libsdl.org/SDL_image/rev/b920be2b3fc6