Every CVE Search/ Get API key

CVE-2017-2888

An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5...

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.07%Up 1.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 8.8

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.

Record
CVE-2017-2888
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
EUVDEUVD-2017-12029 8.8

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.

Record
EUVD-2017-12029
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-3x42-vgc3-7f6c 8.8

An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5...

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.

Record
GHSA-3x42-vgc3-7f6c
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-190
Updated
2026-11-02
NVD 8.8

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.

Record
CVE-2017-2888
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-190
Updated
2026-11-02
OSV 8.8

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.

Record
CVE-2017-2888
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-2888 8.8

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.

Record
DEBIAN-CVE-2017-2888
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2017-2888 8.8

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.

Record
UBUNTU-CVE-2017-2888
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2017-0398 No score

Updated sdl2 packages fix security vulnerability

Yves Younan of Cisco Talos discovered an exploitable integer overflow vulnerability when creating a new RGB Surface in SDL 2.0.x before version 2.0.7. 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 (CVE-2017-2888).

Record
MGASA-2017-0398
Updated
2026-11-02
OSVopenSUSE-SU-2017:2893-1 No score

Security update for SDL2

This update for SDL2 fixes the following issues:

  • CVE-2017-2888: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL. 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. (bsc#1062784)
Record
openSUSE-SU-2017:2893-1
Updated
2026-11-02
OSVopenSUSE-SU-2017:2895-1 No score

Security update for SDL2

This update for SDL2 fixes the following issues:

  • CVE-2017-2888: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL. 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. (bsc#1062784)
Record
openSUSE-SU-2017:2895-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10607-1 No score

libSDL2-2_0-0-2.0.16-2.3 on GA media

These are all security issues fixed in the libSDL2-2_0-0-2.0.16-2.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10607-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:15206-1 No score

SDL2-2.32.8-1.1 on GA media

These are all security issues fixed in the SDL2-2.32.8-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15206-1
Updated
2026-11-02
OSVUSN-4143-1 No score

SDL 2.0 vulnerabilities

It was discovered that SDL 2.0 mishandled crafted image files resulting in an integer overflow. If a user were tricked into opening a malicious file, SDL 2.0 could be caused to crash or potentially run arbitrary code. (CVE-2017-2888)

It was discovered that SDL 2.0 mishandled crafted image files. If a user were tricked into opening a malicious file, SDL 2.0 could be caused to crash or potentially run arbitrary code. (CVE-2019-7635, CVE-2019-7636, CVE-2019-7637, CVE-2019-7638)

Record
USN-4143-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libsdl2
Debian:12
before 2.0.6+dfsg1-4
2.0.6+dfsg1-4
libsdl2
Debian:13
before 2.0.6+dfsg1-4
2.0.6+dfsg1-4
libsdl2
Debian:14
before 2.0.6+dfsg1-4
2.0.6+dfsg1-4
libsdl2
Debian:8
before 2.0.2+dfsg1-6+deb8u2, plus listed versions
2.0.2+dfsg1-62.0.2+dfsg1-6+deb8u1
2.0.2+dfsg1-6+deb8u2
libsdl2
Debian:9
before 2.0.5+dfsg1-2+deb9u2, plus listed versions
2.0.5+dfsg1-22.0.5+dfsg1-2+deb9u1
2.0.5+dfsg1-2+deb9u2
sdl2
Mageia:5
before 2.0.3-4.1.mga5
2.0.3-4.1.mga5
sdl2
Mageia:6
before 2.0.5-2.1.mga6
2.0.5-2.1.mga6
mingw-SDL2
Mageia:6
before 2.0.5-1.mga6
2.0.5-1.mga6
libsdl2
Ubuntu:16.04:LTS
before 2.0.4+dfsg1-2ubuntu2.16.04.2, plus listed versions
2.0.2+dfsg1-6ubuntu22.0.4+dfsg1-22.0.4+dfsg1-2ubuntu12.0.4+dfsg1-2ubuntu22.0.4+dfsg1-2ubuntu2.16.04.1
2.0.4+dfsg1-2ubuntu2.16.04.2
libsdl2
Ubuntu:18.04:LTS
before 2.0.8+dfsg1-1ubuntu1.18.04.4, plus listed versions
2.0.6+dfsg1-3ubuntu12.0.6+dfsg1-4ubuntu12.0.7+dfsg1-3ubuntu12.0.8+dfsg1-1ubuntu12.0.8+dfsg1-1ubuntu1.18.04.12.0.8+dfsg1-1ubuntu1.18.04.3
2.0.8+dfsg1-1ubuntu1.18.04.4
SDL2
SUSE:Package Hub 12
before 2.0.5-7.1
2.0.5-7.1
SDL2
openSUSE:Tumbleweed
before 2.0.16-2.3
2.0.16-2.3
SDL2
openSUSE:Tumbleweed
before 2.32.8-1.1
2.32.8-1.1

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-2888 is a high vulnerability (CVSS 8.8) in Canonical Ubuntu Linux, published October 11, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.07%, the 87th percentile. Fixed in libsdl2 2.0.6+dfsg1-4.

References

Show 30 moreShow less
MoveEnter Open