# CVE-2017-2887

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-10-11 · Modified: 2024-09-17
- Aliases: ALPINE-CVE-2017-2887, MGASA-2017-0397, MGASA-2018-0170, UBUNTU-CVE-2017-2887, DEBIAN-CVE-2017-2887, DLA-1134-1
- Record: https://cvemate.com/vulnerability/CVE-2017-2887 · JSON: https://cvemate.com/vulnerability/CVE-2017-2887/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.656%, percentile 86.171%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine sdl2\_image (Alpine Linux): \< 2.0.1-r2
- debian libsdl2-image (Debian): \< 2.0.1+dfsg-4
- debian sdl-image1.2 (Debian): \< 1.2.12-7 \| \< 1.2.12-2+deb7u1
- ubuntu libsdl2-image (Ubuntu): \< 2.0.0+dfsg-3+deb8u1build0.14.04.1 \| \< 2.0.1+dfsg-2+deb9u1build0.16.04.1
- ubuntu sdl-image1.2 (Ubuntu): \< 1.2.12-5+deb9u1build0.14.04.1 \| \< 1.2.12-5+deb9u1build0.16.04.1
- debian debian\_linux: 8.0 \| 9.0
- libsdl sdl\_image: 2.0.1
- mageia SDL\_image (Mageia): \< 1.2.12-8.1.mga5
- mageia sdl2\_image (Mageia): \< 2.0.0-4.1.mga5
- mageia mingw-SDL\_image (Mageia): \< 1.2.12-13.1.mga6
- mageia mingw-SDL2\_image (Mageia): \< 2.0.1-2.1.mga6
- mageia SDL\_image (Mageia): \< 1.2.12-9.1.mga6
- mageia sdl2\_image (Mageia): \< 2.0.1-1.1.mga6
- talos simple direct media: Simple DirectMedia Layer SDL\_image 2.0.1

## References

- <https://www.debian.org/security/2018/dsa-4177>
- <http://www.securityfocus.com/bid/101215>
- <https://www.debian.org/security/2018/dsa-4184>
- <https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0394>
- <https://security.alpinelinux.org/vuln/CVE-2017-2887>
- <https://advisories.mageia.org/MGASA-2017-0397.html>
- <https://bugs.mageia.org/show_bug.cgi?id=21881>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/C7QAEI2QV3QGJR5OS43R5U3U47LAHQRO/>
- <https://advisories.mageia.org/MGASA-2018-0170.html>
- <https://bugs.mageia.org/show_bug.cgi?id=22650>
- <https://www.suse.com/security/cve/CVE-2017-2887/>
- <https://ubuntu.com/security/CVE-2017-2887>
- <https://hg.libsdl.org/SDL_image/rev/318484db0705>
- <https://www.cve.org/CVERecord?id=CVE-2017-2887>
- <https://security-tracker.debian.org/tracker/CVE-2017-2887>

---

Data as of 2026-12-05T04:17:24.668Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
