Description
An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Simple DirectMedia Layer | Simple DirectMedia Layer | Simple DirectMedia Layer SDL2_image 2.0.3 | — |
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.3+dfsg1-3 | — |
| Debian 14 | sdl-image1.2 | 1.2.12-10 | — |
| Debian 13 | libsdl2-image | 2.0.3+dfsg1-3 | — |
| Debian 13 | sdl-image1.2 | 1.2.12-10 | — |
| Debian 12 | libsdl2-image | 2.0.3+dfsg1-3 | — |
| Debian 12 | sdl-image1.2 | 1.2.12-10 | — |
| Debian 8 | libsdl2-image | 2.0.0+dfsg-3+deb8u2 | DLA-1861-1 |
| Debian 8 | sdl-image1.2 | 1.2.12-5+deb8u2 | DLA-1865-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | sdl-image1.2 | 1.2.12-8ubuntu0.1 | USN-4238-1 |
| Ubuntu 16.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | USN-4238-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | libsdl2-image | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | — |
| Ubuntu Pro 14.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | SDL_image | 1.2.6-84.46.1 | SUSE-SU-2018:3861-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 | SDL2_image | 2.0.4-bp150.3.3.1 | openSUSE-SU-2018:3906-1 |
Advisories 5
- USN-4238-1 sdl-image1.2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-1865-1 sdl-image1.2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1861-1 libsdl2-image - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2018:3906-1 Security update for SDL2_image SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3861-1 Security update for SDL_image SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201903-17 vendor-advisory
- [debian-lts-announce] 20190722 [SECURITY] [DLA 1861-1] libsdl2-image security update mailing-list
- [debian-lts-announce] 20190727 [SECURITY] [DLA 1865-1] sdl-image1.2 security update mailing-list
- USN-4238-1 vendor-advisory
- https://talosintelligence.com/vulnerability_reports/TALOS-2018-0645