CVE-2026-117557

NameCVE-2026-117557
DescriptionSDL_image through 3.4.8 and through 2.8.12 contains a stack out-of-bounds read vulnerability in IMG_LoadLBM_IO() in src/IMG_lbm.c that skips bitplane count validation when HAM mode is set. Attackers can supply a crafted ILBM file with more than 8 HAM bitplanes to read past the colormap stack array, causing crashes or disclosing stack memory.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl2-image (PTS)bookworm2.6.3+dfsg-1vulnerable
trixie2.8.8+dfsg-1+deb13u1vulnerable
forky, sid2.8.12+dfsg-2vulnerable
libsdl3-image (PTS)trixie3.2.4+ds-1+deb13u1vulnerable
forky, sid3.4.8+ds-1vulnerable
sdl-image1.2 (PTS)bookworm1.2.12-13vulnerable
forky, sid, trixie1.2.12-14vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl2-imagesource(unstable)(unfixed)
libsdl3-imagesource(unstable)(unfixed)
sdl-image1.2source(unstable)(unfixed)

Notes

[trixie] - libsdl3-image <no-dsa> (Minor issue)
[trixie] - libsdl2-image <no-dsa> (Minor issue)
[trixie] - sdl-image1.2 <no-dsa> (Minor issue)
https://github.com/libsdl-org/SDL_image/issues/769
Fixed by: https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292 (main)
Fixed by: https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996 (release-3.4.x)

Search for package or bug name: Reporting problems