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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libsdl2-image | no fix listed | DEBIAN-CVE-2026-117557 |
| Debian:13 | libsdl2-image | no fix listed | DEBIAN-CVE-2026-117557 |
| Debian:14 | libsdl2-image | no fix listed | DEBIAN-CVE-2026-117557 |
| Debian:13 | libsdl3-image | no fix listed | DEBIAN-CVE-2026-117557 |
| Debian:14 | libsdl3-image | no fix listed | DEBIAN-CVE-2026-117557 |
| Debian:12 | sdl-image1.2 | no fix listed | DEBIAN-CVE-2026-117557 |
| Debian:13 | sdl-image1.2 | no fix listed | DEBIAN-CVE-2026-117557 |
| Debian:14 | sdl-image1.2 | no fix listed | DEBIAN-CVE-2026-117557 |
| Ubuntu:22.04:LTS | libsdl2-image | no fix listed | UBUNTU-CVE-2026-117557 |
| Ubuntu:24.04:LTS | libsdl2-image | no fix listed | UBUNTU-CVE-2026-117557 |
| Ubuntu:26.04:LTS | libsdl2-image | no fix listed | UBUNTU-CVE-2026-117557 |
| Ubuntu:26.10 | libsdl2-image | no fix listed | UBUNTU-CVE-2026-117557 |
| Ubuntu:26.04:LTS | libsdl3-image | no fix listed | UBUNTU-CVE-2026-117557 |
| Ubuntu:26.10 | libsdl3-image | no fix listed | UBUNTU-CVE-2026-117557 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- GitHub Issue #769 issue-tracking
- https://github.com/libsdl-org/SDL_image product
- https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292 patch
- https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996 patch
- https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240 technical-description
- VulnCheck Advisory: SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader third-party-advisory
- https://hackmd.io/@haindpwn/sdl-image-lbm-ham-oob-read exploit