Out-of-bounds Read in Libsdl-Org Sdl Image
CVE-2026-117557
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/libsdl-org/SDL_image/issues/769 (issue-tracking)
- github.com/libsdl-org/SDL_image (product)
- github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292 (patch)
- github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996 (patch)
- github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c (technical-description)
- www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bo… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-117557?
- CVE-2026-117557 is a medium-severity vulnerability in Libsdl-Org Sdl Image, classified under Out-of-bounds Read. CVSS score: 6.1/10. Published 2026-10-27.
- How severe is CVE-2026-117557?
- Medium severity. CVSS v3 base score is 6.1 out of 10.