Vulnerability

CVE-2026-117557

mediumCVSS 4.0 6.9Published 27 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /libsdl-org/SDL_image
  • github.com /libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c
  • github.com /libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b4…
  • github.com /libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2…
  • github.com /libsdl-org/SDL_image/issues/769
  • www.vulncheck.com /advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of…
  • hackmd.io /@haindpwn/sdl-image-lbm-ham-oob-read

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning