CVE-2026-117557
published medium CVSS 4.0 · 6.9SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libsdl-org | — | SDL_image0 through 2.8.12 · 3.0.0 through 3.4.8 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-2_0-0aarch64 | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-2_0-0ppc64le | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-2_0-0s390x | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-2_0-0x86_64 | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-develaarch64 | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-develppc64le | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-devels390x | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | libSDL2_image-develx86_64 | Advisory build | 2.0.5-150300.3.3.1 | SUSE-SU-2026:5158-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libsdl-org | SDL_image | 0 through 2.8.12 (affected · semver)3.0.0 through 3.4.8 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
7- https://github.com/libsdl-org/SDL_image
- https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240
- https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292
- https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996
- GitHub Issue #769 https://github.com/libsdl-org/SDL_image/issues/769
- https://hackmd.io/@haindpwn/sdl-image-lbm-ham-oob-read
- VulnCheck Advisory: SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader
Provider assertions
2VulnCheck · cna
SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c278ee0c673f049db57c4b4a880bcad06ff589a987faf3cbf1145688be316eb3
- Ingested
- 04 Nov 2026, 16:59:15 UTC
- Source record
- Official CVE record