# CVE-2026-117557: SDL\_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: Low; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-10-27T13:07:52.419Z
- **Modified:** 2026-11-04T17:17:31.530Z

## Who should check

- Anyone running libsdl-org SDL\_image \<= 2.8.12; \>= 3.0.0, \<= 3.4.8

## 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 and fixed versions

- libsdl-org SDL\_image: \<= 2.8.12; \>= 3.0.0, \<= 3.4.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-117557. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-117557.md
Affected: libsdl-org SDL_image <= 2.8.12; >= 3.0.0, <= 3.4.8
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for libsdl-org SDL_image: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-117557 being exploited?

There is no confirmed exploitation: CVE-2026-117557 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-117557?

Medium: CVSS 6.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-117557?

libsdl-org SDL\_image \<= 2.8.12; \>= 3.0.0, \<= 3.4.8.

### Is there a fix for CVE-2026-117557?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-117557?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292>
- patch: <https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996>
- exploit: <https://hackmd.io/@haindpwn/sdl-image-lbm-ham-oob-read>
- article: <https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240>
- other: <https://github.com/libsdl-org/SDL_image/issues/769>
- other: <https://github.com/libsdl-org/SDL_image>
- other: <https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-117557>

HTML: <https://flawdb.com/CVE-2026-117557> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-117557>
