CVE-2026-117557: medium-severity vulnerability in libsdl-org SDL_image
SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
33Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 6.9epss 0.1%
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.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products
libsdl-org · SDL_imagepublic PoCs found — 1
cve_referencehackmd.io/@haindpwn/sdl-image-lbm-ham-oob-readunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — libsdl-org SDL_image
In the same product, most dangerous first.
References
https://github.com/libsdl-org/SDL_imagehttps://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996https://github.com/libsdl-org/SDL_image/issues/769https://hackmd.io/@haindpwn/sdl-image-lbm-ham-oob-readhttps://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader