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)
NVD severitymedium (attack range: remote)
Debian Bugs878264

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl1.2 (PTS)jessie1.2.15-10fixed
jessie (security)1.2.15-10+deb8u1fixed
stretch1.2.15+dfsg1-4fixed
bullseye, sid, buster1.2.15+dfsg2-4fixed
libsdl2 (PTS)jessie2.0.2+dfsg1-6vulnerable
jessie (security)2.0.2+dfsg1-6+deb8u1vulnerable
stretch2.0.5+dfsg1-2vulnerable
bullseye, sid, buster2.0.9+dfsg1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl1.2source(unstable)(not affected)
libsdl2source(unstable)2.0.6+dfsg1-4medium878264

Notes

[stretch] - libsdl2 <no-dsa> (Minor issue)
[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