Vulnerability Description
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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/libsdl-org/SDL_image
- https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240
- https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2
- https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21
- https://github.com/libsdl-org/SDL_image/issues/769
- https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-ou
FAQ
What is CVE-2026-117557?
CVE-2026-117557 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 c...
How severe is CVE-2026-117557?
CVE-2026-117557 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-117557?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.