Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-117557

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

libsdl-org SDL_image

Default version status: unaffected

  • 0 to ≤ 2.8.12affected
  • 3.0.0 to ≤ 3.4.8affected

References