CVE-2017-2887
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of...
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF 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 buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
CVE-2017-2887- 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-12028
8.8
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
EUVD-2017-12028- 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-hqjw-c32v-frhh
8.8
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of...
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
GHSA-hqjw-c32v-frhh- 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-787
- Updated
- 2026-11-02
NVD
8.8
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
CVE-2017-2887- 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-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-2887
8.8
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
ALPINE-CVE-2017-2887- 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
OSV
8.8
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
CVE-2017-2887- 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 5 moreShow less
OSVDEBIAN-CVE-2017-2887
8.8
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
DEBIAN-CVE-2017-2887- 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
OSVUBUNTU-CVE-2017-2887
8.8
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
- Record
UBUNTU-CVE-2017-2887- 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-0397 No score
Updated sdl2_image & mingw packages fix security vulnerability
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability (CVE-2017-2887).
- Record
MGASA-2017-0397- Updated
- 2026-11-02
OSVMGASA-2018-0170 No score
Updated SDL_image packages fix security vulnerability
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability (CVE-2017-2887).
- Record
MGASA-2018-0170- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10608-1 No score
libSDL2_image-2_0-0-2.0.5-1.14 on GA media
These are all security issues fixed in the libSDL2_image-2_0-0-2.0.5-1.14 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10608-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sdl2_imageAlpine:v3.5 |
before 2.0.1-r2 | 2.0.1-r2 |
sdl2_imageAlpine:v3.6 |
before 2.0.1-r2 | 2.0.1-r2 |
libsdl2-imageDebian:12 |
before 2.0.1+dfsg-4 | 2.0.1+dfsg-4 |
libsdl2-imageDebian:13 |
before 2.0.1+dfsg-4 | 2.0.1+dfsg-4 |
libsdl2-imageDebian:14 |
before 2.0.1+dfsg-4 | 2.0.1+dfsg-4 |
sdl-image1.2Debian:12 |
before 1.2.12-7 | 1.2.12-7 |
sdl-image1.2Debian:13 |
before 1.2.12-7 | 1.2.12-7 |
sdl-image1.2Debian:14 |
before 1.2.12-7 | 1.2.12-7 |
sdl-image1.2Debian:7 |
before 1.2.12-2+deb7u1, plus listed versions 1.2.12-2 |
1.2.12-2+deb7u1 |
libsdl2-imageDebian:8 |
before 2.0.0+dfsg-3+deb8u1, plus listed versions 2.0.0+dfsg-3 |
2.0.0+dfsg-3+deb8u1 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libsdl2-imageDebian:9 |
before 2.0.1+dfsg-2+deb9u1, plus listed versions 2.0.1+dfsg-2 |
2.0.1+dfsg-2+deb9u1 |
sdl-image1.2Debian:8 |
before 1.2.12-5+deb8u1, plus listed versions 1.2.12-5 |
1.2.12-5+deb8u1 |
sdl-image1.2Debian:9 |
before 1.2.12-5+deb9u1, plus listed versions 1.2.12-5 |
1.2.12-5+deb9u1 |
sdl2_imageMageia:5 |
before 2.0.0-4.1.mga5 | 2.0.0-4.1.mga5 |
sdl2_imageMageia:6 |
before 2.0.1-1.1.mga6 | 2.0.1-1.1.mga6 |
mingw-SDL2_imageMageia:6 |
before 2.0.1-2.1.mga6 | 2.0.1-2.1.mga6 |
SDL_imageMageia:5 |
before 1.2.12-8.1.mga5 | 1.2.12-8.1.mga5 |
SDL_imageMageia:6 |
before 1.2.12-9.1.mga6 | 1.2.12-9.1.mga6 |
mingw-SDL_imageMageia:6 |
before 1.2.12-13.1.mga6 | 1.2.12-13.1.mga6 |
libsdl2-imageUbuntu:14.04:LTS |
before 2.0.0+dfsg-3+deb8u1build0.14.04.1, plus listed versions 2.0.0+dfsg-22.0.0+dfsg-32.0.0+dfsg-3build2 |
2.0.0+dfsg-3+deb8u1build0.14.04.1 |
sdl-image1.2Ubuntu:14.04:LTS |
before 1.2.12-5+deb9u1build0.14.04.1, plus listed versions 1.2.12-4ubuntu11.2.12-51.2.12-5build2 |
1.2.12-5+deb9u1build0.14.04.1 |
libsdl2-imageUbuntu:16.04:LTS |
before 2.0.1+dfsg-2+deb9u1build0.16.04.1, plus listed versions 2.0.0+dfsg-3build22.0.1+dfsg-12.0.1+dfsg-2 |
2.0.1+dfsg-2+deb9u1build0.16.04.1 |
sdl-image1.2Ubuntu:16.04:LTS |
before 1.2.12-5+deb9u1build0.16.04.1, plus listed versions 1.2.12-5build2 |
1.2.12-5+deb9u1build0.16.04.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-2887 is a high vulnerability (CVSS 8.8) in Cisco Systems, Inc. Simple Direct Media, published October 11, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.66%, the 85th percentile. Fixed in sdl2_image 2.0.1-r2.
References
debian.org/security/2018/dsa-4177
securityfocus.com/bid/101215
debian.org/security/2018/dsa-4184
talosintelligence.com/vulnerability_reports/TALOS-2017-0394
nvd.nist.gov/vuln/detail/CVE-2017-2887
github.com/advisories/GHSA-hqjw-c32v-frhh
Show 32 moreShow less
security.alpinelinux.org/vuln/CVE-2017-2887
security-tracker.debian.org/tracker/CVE-2017-2887
advisories.mageia.org/MGASA-2017-0397.html
bugs.mageia.org/show_bug.cgi?id=21881
lists.fedoraproject.org/archives/list/[email protected]/thread/C7QAEI2QV3QGJR5OS43R5U3U47LAHQRO
advisories.mageia.org/MGASA-2018-0170.html
bugs.mageia.org/show_bug.cgi?id=22650
suse.com/security/cve/CVE-2017-2887
ubuntu.com/security/CVE-2017-2887
hg.libsdl.org/SDL_image/rev/318484db0705
cve.org/CVERecord?id=CVE-2017-2887
suse.com/security/cve/CVE-2017-12122
suse.com/security/cve/CVE-2017-14440
suse.com/security/cve/CVE-2017-14441
suse.com/security/cve/CVE-2017-14442
suse.com/security/cve/CVE-2017-14448
suse.com/security/cve/CVE-2017-14449
suse.com/security/cve/CVE-2017-14450
suse.com/security/cve/CVE-2018-3839
suse.com/security/cve/CVE-2018-3977
suse.com/security/cve/CVE-2019-12217
suse.com/security/cve/CVE-2019-12218
suse.com/security/cve/CVE-2019-12220
suse.com/security/cve/CVE-2019-12221
suse.com/security/cve/CVE-2019-12222
suse.com/security/cve/CVE-2019-13616
suse.com/security/cve/CVE-2019-5051
suse.com/security/cve/CVE-2019-5052
suse.com/security/cve/CVE-2019-5057
suse.com/security/cve/CVE-2019-5058
suse.com/security/cve/CVE-2019-5059
suse.com/security/cve/CVE-2019-5060