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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-27T13:07:52.419Z
- Modified: 2026-11-04T17:17:31.530Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- libsdl-org SDL_image: up to 2.8.12; from 3.0.0 up to 3.4.8

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

- <https://hackmd.io/@haindpwn/sdl-image-lbm-ham-oob-read> (exploit)
- <https://github.com/libsdl-org/SDL_image/issues/769> (issue-tracking)
- <https://github.com/libsdl-org/SDL_image> (product)
- <https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292> (patch)
- <https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996> (patch)
- <https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240> (technical-description)
- <https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-117557](https://www.cve.org/CVERecord?id=CVE-2026-117557), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-117557](https://nvd.nist.gov/vuln/detail/CVE-2026-117557), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-117557 · Whole record: https://cve.day/CVE-2026-117557.json · Rebuilt by cve.day 2026-11-25T22:59:47.362Z
