Skip to main content
← All vulnerabilities
CVE-2026-117557EUVD-2026-110835GHSA-M3V7-J67W-Q2PR

SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub

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.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • libsdl-org SDL_image

    through 2.8.12; From 3.0.0 · through 3.4.8

References 6

GitHub · libsdl-org/SDL_image

vulncheck.com