Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Talos | Simple Direct Media | Simple DirectMedia Layer SDL_image 2.0.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsdl2-image | 2.0.1+dfsg-4 | — |
| Debian 14 | sdl-image1.2 | 1.2.12-7 | — |
| Debian 13 | libsdl2-image | 2.0.1+dfsg-4 | — |
| Debian 13 | sdl-image1.2 | 1.2.12-7 | — |
| Debian 12 | libsdl2-image | 2.0.1+dfsg-4 | — |
| Debian 12 | sdl-image1.2 | 1.2.12-7 | — |
| Debian 9 | libsdl2-image | 2.0.1+dfsg-2+deb9u1 | DSA-4177-1 |
| Debian 9 | sdl-image1.2 | 1.2.12-5+deb9u1 | DSA-4184-1 |
| Debian 8 | libsdl2-image | 2.0.0+dfsg-3+deb8u1 | DSA-4177-1 |
| Debian 8 | sdl-image1.2 | 1.2.12-5+deb8u1 | DSA-4184-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | sdl-image1.2 | 1.2.12-2+deb7u1 | DLA-1134-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libsdl2-image | 2.0.1+dfsg-2+deb9u1build0.16.04.1 | — |
| Ubuntu 16.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1build0.16.04.1 | — |
| Ubuntu 14.04 LTS | libsdl2-image | 2.0.0+dfsg-3+deb8u1build0.14.04.1 | — |
| Ubuntu 14.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1build0.14.04.1 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.6 | sdl2_image | 2.0.1-r2 | — |
| Alpine v3.5 | sdl2_image | 2.0.1-r2 | — |
Advisories 3
- DSA-4177-1 libsdl2-image - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4184-1 sdl-image1.2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1134-1 sdl-image1.2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-4177 vendor-advisory
- 101215 vdb-entry
- DSA-4184 vendor-advisory
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0394