
CVE catalog
CVE-2017-2887
libsdl2-image: CVE-2017-2887
- Severity
- High · CVSS 7.8
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.66% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sdl-image1.2 | sid | 1.2.12-14 | fixed |
| Debian | sdl-image1.2 | forky | 1.2.12-14 | fixed |
| Debian | sdl-image1.2 | trixie | 1.2.12-14 | fixed |
| Debian | sdl-image1.2 | bookworm | 1.2.12-13 | fixed |
| Debian | libsdl2-image | sid | 2.8.12+dfsg-2 | fixed |
| Debian | libsdl2-image | forky | 2.8.12+dfsg-2 | fixed |
| Debian | libsdl2-image | trixie | 2.8.8+dfsg-1+deb13u1 | fixed |
| Debian | libsdl2-image | bookworm | 2.6.3+dfsg-1 | fixed |
| Alpine | sdl2_image | 3.5 | 2.0.1-r2 | fixed |
| Alpine | sdl2_image | 3.6 | 2.0.1-r2 | fixed |
| Ubuntu | libsdl2-image | 14.04 | 2.0.0+dfsg-2 | vulnerable |
| Ubuntu | libsdl2-image | 14.04 | 2.0.0+dfsg-3 | vulnerable |
| Ubuntu | libsdl2-image | 14.04 | 2.0.0+dfsg-3build2 | vulnerable |
| Ubuntu | libsdl2-image | 14.04 | 2.0.0+dfsg-3+deb8u1build0.14.04.1 | fixed |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-4ubuntu1 | vulnerable |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-5 | vulnerable |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-5build2 | vulnerable |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-5+deb9u1build0.14.04.1 | fixed |
| Ubuntu | libsdl2-image | 16.04 | 2.0.0+dfsg-3build2 | vulnerable |
| Ubuntu | libsdl2-image | 16.04 | 2.0.1+dfsg-1 | vulnerable |
| Ubuntu | libsdl2-image | 16.04 | 2.0.1+dfsg-2 | vulnerable |
| Ubuntu | libsdl2-image | 16.04 | 2.0.1+dfsg-2+deb9u1build0.16.04.1 | fixed |
| Ubuntu | sdl-image1.2 | 16.04 | 1.2.12-5build2 | vulnerable |
| Ubuntu | sdl-image1.2 | 16.04 | 1.2.12-5+deb9u1build0.16.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sdl-image1.2 | source | sid | 1.2.12-7 | not yet assigned | Not reported | [878267] |
| Debian | sdl-image1.2 | source | forky | 1.2.12-7 | not yet assigned | Not reported | [878267] |
| Debian | sdl-image1.2 | source | trixie | 1.2.12-7 | not yet assigned | Not reported | [878267] |
| Debian | sdl-image1.2 | source | bookworm | 1.2.12-7 | not yet assigned | Not reported | [878267] |
| Debian | libsdl2-image | source | sid | 2.0.1+dfsg-4 | not yet assigned | Not reported | [878266] |
| Debian | libsdl2-image | source | forky | 2.0.1+dfsg-4 | not yet assigned | Not reported | [878266] |
| Debian | libsdl2-image | source | trixie | 2.0.1+dfsg-4 | not yet assigned | Not reported | [878266] |
| Debian | libsdl2-image | source | bookworm | 2.0.1+dfsg-4 | not yet assigned | Not reported | [878266] |
| Alpine | sdl2_image | apk | 3.5 | 2.0.1-r2 | Not reported | ALPINE-CVE-2017-2887 | Not reported |
| Alpine | sdl2_image | apk | 3.6 | 2.0.1-r2 | Not reported | ALPINE-CVE-2017-2887 | Not reported |
| Ubuntu | libsdl2-image | deb | 14.04 | 2.0.0+dfsg-3+deb8u1build0.14.04.1 | Not reported | UBUNTU-CVE-2017-2887 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 14.04 | 1.2.12-5+deb9u1build0.14.04.1 | Not reported | UBUNTU-CVE-2017-2887 | Not reported |
| Ubuntu | libsdl2-image | deb | 16.04 | 2.0.1+dfsg-2+deb9u1build0.16.04.1 | Not reported | UBUNTU-CVE-2017-2887 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 16.04 | 1.2.12-5+deb9u1build0.16.04.1 | Not reported | UBUNTU-CVE-2017-2887 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libsdl2-image-2.0-0]Fixed
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-dev]Fixed
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-tests]Fixed
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl-image1.2]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
- [libsdl-image1.2-dev]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
[Debian 13 (Trixie)]
- [libsdl2-image-2.0-0]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · 13
- [libsdl2-image-dev]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · 13
- [libsdl2-image-tests]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.1+dfsg-4dsa · libsdl2-image · debian · 13
- [libsdl-image1.2]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · 13
- [libsdl-image1.2-dev]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-7dsa · sdl-image1.2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10608-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2017-2887]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-2887]
- [https://osv.dev/vulnerability/DLA-1134-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-2887]
- [https://security-tracker.debian.org/tracker/CVE-2017-2887]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]