CVE-2017-2888
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.
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
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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 8.8 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
libsdl2Debian:12 |
before 2.0.6+dfsg1-4 | 2.0.6+dfsg1-4 |
libsdl2Debian:13 |
before 2.0.6+dfsg1-4 | 2.0.6+dfsg1-4 |
libsdl2Debian:14 |
before 2.0.6+dfsg1-4 | 2.0.6+dfsg1-4 |
libsdl2Debian: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 |
libsdl2Debian: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 |
sdl2Mageia:5 |
before 2.0.3-4.1.mga5 | 2.0.3-4.1.mga5 |
sdl2Mageia:6 |
before 2.0.5-2.1.mga6 | 2.0.5-2.1.mga6 |
mingw-SDL2Mageia:6 |
before 2.0.5-1.mga6 | 2.0.5-1.mga6 |
libsdl2Ubuntu: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 |
libsdl2Ubuntu: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 |
SDL2SUSE:Package Hub 12 |
before 2.0.5-7.1 | 2.0.5-7.1 |
SDL2openSUSE:Tumbleweed |
before 2.0.16-2.3 | 2.0.16-2.3 |
SDL2openSUSE:Tumbleweed |
before 2.32.8-1.1 | 2.32.8-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products | EUVD | |
| first indexed | CVE 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
securityfocus.com/bid/101215
usn.ubuntu.com/4143-1
lists.debian.org/debian-lts-announce/2021/10/msg00031.html
talosintelligence.com/vulnerability_reports/TALOS-2017-0395
nvd.nist.gov/vuln/detail/CVE-2017-2888
github.com/advisories/GHSA-3x42-vgc3-7f6c
Show 30 moreShow less
security-tracker.debian.org/tracker/CVE-2017-2888
advisories.mageia.org/MGASA-2017-0398.html
bugs.mageia.org/show_bug.cgi?id=21882
hg.libsdl.org/SDL/rev/7e0f1498ddb5
hg.libsdl.org/SDL/rev/81a4950907a0
ubuntu.com/security/CVE-2017-2888
ubuntu.com/security/notices/USN-4143-1
cve.org/CVERecord?id=CVE-2017-2888
ubuntu.com/security/CVE-2019-7635
ubuntu.com/security/CVE-2019-7636
ubuntu.com/security/CVE-2019-7637
ubuntu.com/security/CVE-2019-7638
bugzilla.suse.com/1062784
suse.com/security/cve/CVE-2017-2888
suse.com/security/cve/CVE-2019-13616
suse.com/security/cve/CVE-2019-13626
suse.com/security/cve/CVE-2019-7635
suse.com/security/cve/CVE-2019-7638
suse.com/security/cve/CVE-2019-7572
suse.com/security/cve/CVE-2019-7573
suse.com/security/cve/CVE-2019-7574
suse.com/security/cve/CVE-2019-7575
suse.com/security/cve/CVE-2019-7577
suse.com/security/cve/CVE-2019-7578
suse.com/security/cve/CVE-2019-7636
suse.com/security/cve/CVE-2019-7637
suse.com/security/cve/CVE-2020-14409
suse.com/security/cve/CVE-2020-14410
suse.com/security/cve/CVE-2021-33657
suse.com/security/cve/CVE-2022-4743