Bug#1154711: libsdl2-image: CVE-2026-117557

Moritz Mühlenhoff jmm at inutil.org
Sat Nov 21 19:15:43 GMT 2026


Source: libsdl2-image
X-Debbugs-CC: team at security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for libsdl2-image.

CVE-2026-117557[0]:
| SDL_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.

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)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-117557
    https://www.cve.org/CVERecord?id=CVE-2026-117557

Please adjust the affected versions in the BTS as needed.



More information about the Pkg-sdl-maintainers mailing list