CVE-2017-2888

NameCVE-2017-2888
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1714-2, DLA-2803-1
NVD severitymedium
Debian Bugs878264

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl1.2 (PTS)stretch1.2.15+dfsg1-4fixed
stretch (security)1.2.15+dfsg1-4+deb9u1fixed
buster1.2.15+dfsg2-4fixed
bookworm, bullseye, sid1.2.15+dfsg2-6fixed
libsdl2 (PTS)stretch2.0.5+dfsg1-2vulnerable
stretch (security)2.0.5+dfsg1-2+deb9u2fixed
buster2.0.9+dfsg1-1fixed
bullseye2.0.14+dfsg2-3fixed
bookworm, sid2.0.20+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl1.2source(unstable)(not affected)
libsdl2sourcejessie2.0.2+dfsg1-6+deb8u2DLA-1714-2
libsdl2sourcestretch2.0.5+dfsg1-2+deb9u2DLA-2803-1
libsdl2source(unstable)2.0.6+dfsg1-4878264

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

Search for package or bug name: Reporting problems