# CVE-2026-117557: SDL\_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-27 · Modified: 2026-11-04
- Aliases: DEBIAN-CVE-2026-117557, UBUNTU-CVE-2026-117557, SUSE-SU-2026:5158-1
- Record: https://cvemate.com/vulnerability/CVE-2026-117557 · JSON: https://cvemate.com/vulnerability/CVE-2026-117557/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) 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
- EPSS: 0.236%, percentile 15.598%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian libsdl2-image (Debian): All versions (No fix recorded)
- debian libsdl3-image (Debian): All versions (No fix recorded)
- debian sdl-image1.2 (Debian): All versions (No fix recorded)
- ubuntu libsdl2-image (Ubuntu): All versions (No fix recorded)
- ubuntu libsdl3-image (Ubuntu): All versions (No fix recorded)
- libsdl-org sdl\_image: ≤ 2.8.12 \| ≥ 3.0.0, ≤ 3.4.8
- suse SDL2\_image&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7 (SUSE Linux Enterprise): \< 2.0.5-150300.3.3.1

## References

- <https://github.com/libsdl-org/SDL_image/issues/769>
- <https://github.com/libsdl-org/SDL_image>
- <https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292>
- <https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996>
- <https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240>
- <https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader>
- <https://security-tracker.debian.org/tracker/CVE-2026-117557>
- <https://ubuntu.com/security/CVE-2026-117557>
- <https://www.cve.org/CVERecord?id=CVE-2026-117557>
- <https://hackmd.io/@haindpwn/sdl-image-lbm-ham-oob-read>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20265158-1/>
- <https://bugzilla.suse.com/1289031>
- <https://www.suse.com/security/cve/CVE-2026-117557>

---

Data as of 2026-12-05T04:02:04.832Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
