Name | CVE-2017-2888 |
Description | An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. 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, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1714-2, DLA-2803-1 |
Debian Bugs | 878264 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libsdl1.2 (PTS) | bullseye | 1.2.15+dfsg2-6 | fixed |
| bookworm | 1.2.15+dfsg2-8 | fixed |
libsdl2 (PTS) | bullseye | 2.0.14+dfsg2-3+deb11u1 | fixed |
| bookworm | 2.26.5+dfsg-1 | fixed |
| sid, trixie | 2.30.9+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[jessie] - libsdl2 <no-dsa> (Minor issue)
- libsdl1.2 <not-affected> (Issue not present, SDL_CreateRGBSurface contains further check for too large width or height)
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395
https://hg.libsdl.org/SDL/rev/7e0f1498ddb5
https://hg.libsdl.org/SDL/rev/81a4950907a0