Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-117557 EUVD-2026-110835GHSA-m3v7-j67w-q2pr

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

Published Oct 27, 2026 · Updated Nov 4, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
libsdl-org SDL_image ≤ 2.8.12, 3.0.0 – ≤ 3.4.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sdl-image1.2 +2 No fix yet —
Debian 13 sdl-image1.2 +2 No fix yet —
Debian 12 sdl-image1.2 +1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libsdl2-image +1 No fix yet —
Ubuntu 26.04 LTS libsdl2-image +1 No fix yet —
Ubuntu 24.04 LTS libsdl2-image No fix yet —
Ubuntu 22.04 LTS libsdl2-image No fix yet —
Ubuntu 20.04 LTS libsdl2-image No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libsdl2-image No fix yet —
Ubuntu 16.04 LTS libsdl2-image No fix yet —
Ubuntu Pro 14.04 LTS libsdl2-image No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 SDL2_image 2.0.5-150300.3.3.1 SUSE-SU-2026:5158-1

Advisories 1

References