Vulnerability · Published Oct 27, 2026 · Assigned by VulnCheck

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

Medium 6.1

In plain English

A medium-severity out-of-bounds read in SDL_image from libsdl-org. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.1%top 97.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libsdl2-imageno fix listedDEBIAN-CVE-2026-117557
Debian:13libsdl2-imageno fix listedDEBIAN-CVE-2026-117557
Debian:14libsdl2-imageno fix listedDEBIAN-CVE-2026-117557
Debian:13libsdl3-imageno fix listedDEBIAN-CVE-2026-117557
Debian:14libsdl3-imageno fix listedDEBIAN-CVE-2026-117557
Debian:12sdl-image1.2no fix listedDEBIAN-CVE-2026-117557
Debian:13sdl-image1.2no fix listedDEBIAN-CVE-2026-117557
Debian:14sdl-image1.2no fix listedDEBIAN-CVE-2026-117557
Ubuntu:22.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2026-117557
Ubuntu:24.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2026-117557
Ubuntu:26.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2026-117557
Ubuntu:26.10libsdl2-imageno fix listedUBUNTU-CVE-2026-117557
Ubuntu:26.04:LTSlibsdl3-imageno fix listedUBUNTU-CVE-2026-117557
Ubuntu:26.10libsdl3-imageno fix listedUBUNTU-CVE-2026-117557

Affected products (as reported)

VendorProductVersions
libsdl-org SDL_image 0 – through 2.8.123.0.0 – through 3.4.8

Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

References