CVE-2026-117557
SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | libsdl-org |
| Product | sdl_image |
| Published | Oct 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for libsdl-org sdl_image
Be the first to know when new medium vulnerabilities affecting libsdl-org sdl_image are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Affected Versions
libsdl-org / SDL_image
0 โค 2.8.12 3.0.0 โค 3.4.8
References
github.com: https://github.com/libsdl-org/SDL_image/issues/769 github.com: https://github.com/libsdl-org/SDL_image github.com: https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292 github.com: https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996 github.com: https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240 vulncheck.com: https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader
Credits
HaiND from the Post and Telecommunication Institute of Technology