CVE-2017-2887 json
An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1.
published 2017-10-11 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-12028
- cvss
- 8.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sdl-image1.2 Debian 14, Debian 13, Debian 12 1.2.12-7
- libsdl2-image Debian 14, Debian 13, Debian 12 2.0.1+dfsg-4
debian advisories DEBIAN-CVE-2017-2887
- sdl-image1.2 Ubuntu 14.04 LTS 1.2.12-5+deb9u1build0.14.04.1
- sdl-image1.2 Ubuntu 16.04 LTS 1.2.12-5+deb9u1build0.16.04.1
- libsdl2-image Ubuntu 14.04 LTS 2.0.0+dfsg-3+deb8u1build0.14.04.1
- libsdl2-image Ubuntu 16.04 LTS 2.0.1+dfsg-2+deb9u1build0.16.04.1
ubuntu advisories UBUNTU-CVE-2017-2887
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sdl2_image Alpine 3.6, Alpine 3.5 2.0.1-r2
alpine advisories ALPINE-CVE-2017-2887
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-2887 updated cvss 7.8
SDL_image: Incorrect XCF property handling
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.66% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- Talos Simple Direct Media
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
debian.org
/security/2018/dsa-4177
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4184
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/101215
vdb-entry, broken-link
-
talosintelligence.com
/vulnerability_reports/TALOS-2017-0394
mitigation, third-party-advisory
Sources
- CVE List CVE-2017-2887
- NVD CVE-2017-2887
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.