Skip to content
OpenAdvisories
High · 8.8 CVE-2017-2888 EUVD-2017-12029GHSA-3x42-vgc3-7f6c

An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an in…

Published Oct 11, 2017 · Updated Sep 16, 2024 · Assigned by talos

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.

Affected products

VendorProductAffectedFixed
Talos Simple Direct Media Simple DirectMedia Layer 2.0.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsdl2 2.0.6+dfsg1-4 —
Debian 13 libsdl2 2.0.6+dfsg1-4 —
Debian 12 libsdl2 2.0.6+dfsg1-4 —
Debian 9 libsdl2 2.0.5+dfsg1-2+deb9u2 DLA-2803-1
Debian 8 libsdl2 2.0.2+dfsg1-6+deb8u2 DLA-1714-2
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libsdl2 2.0.8+dfsg1-1ubuntu1.18.04.4 USN-4143-1
Ubuntu 16.04 LTS libsdl2 2.0.4+dfsg1-2ubuntu2.16.04.2 USN-4143-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 SDL2 2.0.5-7.1 openSUSE-SU-2017:2895-1, openSUSE-SU-2017:2893-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed SDL2 2.0.16-2.3 openSUSE-SU-2025:15206-1, openSUSE-SU-2024:10607-1

Advisories 7

References