SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| libsdl-orgSDL_image |
≤ 2.8.12→ Not listed 3.0.0 – 3.4.8→ Not listed |
Not listed Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-117557 sdl-image1.2, libsdl3-image, libsdl2-image No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-117557 libsdl3-image, libsdl2-image No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- report github.com
- report hackmd.io
- web github.com
- web github.com