CVE-2026-117557 PUBLISHED

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

Assigner: VulnCheck
Reserved: 27.10.2026 Published: 27.10.2026 Updated: 27.10.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor libsdl-org
Product SDL_image
Versions Default: unaffected
  • affected from 0 to 2.8.12 (incl.)
  • affected from 3.0.0 to 3.4.8 (incl.)

Credits

  • HaiND from the Post and Telecommunication Institute of Technology finder

References

Problem Types

  • Out-of-bounds Read CWE