Description
Heap-based buffer overflow in the IMG_LoadLBM_RW function in IMG_lbm.c in SDL_image before 1.2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted IFF ILBM file. NOTE: some of these details are obtained from third party information.
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 | sdl-image1.2 | 1.2.6-3 | — |
| Debian 13 | sdl-image1.2 | 1.2.6-3 | — |
| Debian 12 | sdl-image1.2 | 1.2.6-3 | — |
| Debian 4.0 | sdl-image1.2 | 1.2.5-2etch1 | DSA-1493-2, DSA-1493-1 |
| Debian 3.1 | sdl-image1.2 | 1.2.4-1etch1 | DSA-1493-2, DSA-1493-1 |
Advisories 2
- DSA-1493-2 sdl-image1.2 - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1493-1 sdl-image1.2 Debian Security (DSA / DLA) · Mar 9, 2026
References
- 27435 vdb-entry
- 28869 third-party-advisory
- 28850 third-party-advisory
- FEDORA-2008-1208 vendor-advisory
- 28752 third-party-advisory
- sdlimage-imgloadlbmrw-bo(39899) vdb-entry
- http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL_image/IMG_lbm.c?r1=3341&r2=3521
- https://issues.rpath.com/browse/RPL-2206
- FEDORA-2008-1231 vendor-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=207933
- 29542 third-party-advisory
- http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL_image/IMG_lbm.c?revision=3521&view=markup
- DSA-1493 vendor-advisory
- 28640 third-party-advisory
- http://wiki.rpath.com/Advisories:rPSA-2008-0061
- 20080213 rPSA-2008-0061-1 SDL_image mailing-list
- 28830 third-party-advisory
- GLSA-200802-01 vendor-advisory
- USN-595-1 vendor-advisory
- ADV-2008-0266 vdb-entry
- MDVSA-2008:040 vendor-advisory