Libsdl2 image: SDL_image through 3.4.8 and through 2.8.12 contains a stack out-of-bounds read vulnerability in
Affects libsdl2-imageSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium.
Data as of 24 Nov 2026, 22:28 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.1 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libsdl2-imagepkg:deb/ubuntu/libsdl2-image?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10libsdl3-imagepkg:deb/ubuntu/libsdl3-image?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibsdl2-imagepkg:deb/ubuntu/libsdl2-image?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibsdl3-imagepkg:deb/ubuntu/libsdl3-image?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibsdl2-imagepkg:deb/ubuntu/libsdl2-image?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibsdl2-imagepkg:deb/ubuntu/libsdl2-image?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-117557 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-117557 (opens in a new tab)
- github.com/libsdl-org/SDL_image (opens in a new tab)
- github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c (opens in a new tab)
- github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292 (opens in a new tab)
- github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996 (opens in a new tab)
- github.com/libsdl-org/SDL_image/issues/769 (opens in a new tab)
- vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader (opens in a new tab)