PT-2017-4209 · Simple Directmedia Layer+2 · Sdl+2

Published

2017-09-25

·

Updated

2025-07-03

·

CVE-2017-2888

CVSS v2.0

9.3

High

VectorAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions SDL versions 2.0.5
Description The issue is related to an integer overflow when creating a new RGB surface, which can be exploited by a remote attacker to access confidential data, compromise its integrity, and cause a denial of service using a specially crafted image file. A specially crafted file can cause an integer overflow, resulting in too little memory being allocated, leading to a buffer overflow and potential code execution.
Recommendations For SDL version 2.0.5, consider disabling the creation of new RGB surfaces until a patch is available. Restrict access to image files to minimize the risk of exploitation. Avoid using specially crafted image files that can trigger the integer overflow vulnerability. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2017-2305
BDU:2022-05864
CVE-2017-2888
DLA-1714-2
DLA-2803-1
MGASA-2017-0398
OPENSUSE-SU-2017:2893-1
OPENSUSE-SU-2017:2895-1
OPENSUSE-SU-2024:10607-1
OPENSUSE-SU-2025:15206-1
USN-4143-1

Affected Products

Alt Linux
Sdl
Ubuntu