CVE-2026-117557
SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.9
SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
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.
- Record
CVE-2026-117557- CVSS 4.0
- 6.9 Medium
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 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-04
EUVDEUVD-2026-110835
6.9
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.
- Record
EUVD-2026-110835- CVSS 4.0
- 6.9 Medium
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 - Updated
- 2026-11-04
GitHub AdvisoriesGHSA-m3v7-j67w-q2pr
6.9
SDL_image through 3.4.8 and through 2.8.12 contains a stack out-of-bounds read vulnerability in...
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.
- Record
GHSA-m3v7-j67w-q2pr- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-04
NVD
6.9
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.
- Record
CVE-2026-117557- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-04
OSV
6.9
SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader
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.
- Record
CVE-2026-117557- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-125
- Updated
- 2026-11-06
OSVDEBIAN-CVE-2026-117557
6.9
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.
- Record
DEBIAN-CVE-2026-117557- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-05
OSVUBUNTU-CVE-2026-117557
6.9
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.
- Record
UBUNTU-CVE-2026-117557- CVSS 4.0
- 6.9 Medium
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 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libsdl2-imageDebian:12 |
All versions, plus listed versions 2.6.3+dfsg-12.6.3+dfsg-22.8.0+dfsg-12.8.1+dfsg-12.8.10+dfsg-1 Show 9 moreShow less2.8.12+dfsg-12.8.12+dfsg-22.8.2+dfsg-12.8.4+dfsg-12.8.5+dfsg-12.8.6+dfsg-12.8.6+dfsg-22.8.8+dfsg-12.8.8+dfsg-2 |
None known |
libsdl2-imageDebian:13 |
All versions, plus listed versions 2.8.10+dfsg-12.8.12+dfsg-12.8.12+dfsg-22.8.8+dfsg-12.8.8+dfsg-1+deb13u12.8.8+dfsg-2 |
None known |
libsdl2-imageDebian:14 |
All versions, plus listed versions 2.8.10+dfsg-12.8.12+dfsg-12.8.12+dfsg-22.8.8+dfsg-12.8.8+dfsg-2 |
None known |
libsdl3-imageDebian:13 |
All versions, plus listed versions 3.2.4+ds-13.2.4+ds-1+deb13u13.2.6+ds-13.3.4+ds-13.3.4+ds-2 Show 6 moreShow less3.4.0+ds-13.4.2+ds-13.4.4+ds-13.4.4+ds-23.4.6+ds-13.4.8+ds-1 |
None known |
libsdl3-imageDebian:14 |
All versions, plus listed versions 3.2.4+ds-13.2.6+ds-13.3.4+ds-13.3.4+ds-23.4.0+ds-1 Show 5 moreShow less3.4.2+ds-13.4.4+ds-13.4.4+ds-23.4.6+ds-13.4.8+ds-1 |
None known |
sdl-image1.2Debian:12 |
All versions, plus listed versions 1.2.12-131.2.12-14 |
None known |
sdl-image1.2Debian:13 |
All versions, plus listed versions 1.2.12-14 |
None known |
sdl-image1.2Debian:14 |
All versions, plus listed versions 1.2.12-14 |
None known |
libsdl2-imageUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 2.0.0+dfsg-22.0.0+dfsg-32.0.0+dfsg-3build22.0.0+dfsg-3+deb8u1build0.14.04.12.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 |
None known |
libsdl2-imageUbuntu:16.04:LTS |
All versions, plus listed versions 2.0.0+dfsg-3build22.0.1+dfsg-12.0.1+dfsg-22.0.1+dfsg-2+deb9u1build0.16.04.1 |
None known |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libsdl2-imageUbuntu:18.04:LTS |
All versions, plus listed versions 2.0.1+dfsg-32.0.1+dfsg-42.0.2+dfsg1-12.0.3+dfsg1-1 |
None known |
libsdl2-imageUbuntu:20.04:LTS |
All versions, plus listed versions 2.0.5+dfsg1-12.0.5+dfsg1-2 |
None known |
libsdl2-imageUbuntu:22.04:LTS |
All versions, plus listed versions 2.0.5+dfsg1-22.0.5+dfsg1-32.0.5+dfsg1-3build1 |
None known |
libsdl2-imageUbuntu:24.04:LTS |
All versions, plus listed versions 2.6.3+dfsg-22.8.0+dfsg-12.8.1+dfsg-12.8.2+dfsg-12.8.2+dfsg-1build12.8.2+dfsg-1build2 |
None known |
libsdl2-imageUbuntu:26.10 |
All versions, plus listed versions 2.8.8+dfsg-22.8.12+dfsg-12.8.12+dfsg-2 |
None known |
libsdl3-imageUbuntu:26.10 |
All versions, plus listed versions 3.4.0+ds-13.4.4+ds-13.4.4+ds-2 |
None known |
libsdl2-imageUbuntu:26.04:LTS |
All versions, plus listed versions 2.8.8+dfsg-12.8.8+dfsg-2 |
None known |
libsdl3-imageUbuntu:26.04:LTS |
All versions, plus listed versions 3.2.4+ds-13.4.0+ds-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| references | EUVD, GitHub Advisories, NVD, OSV | |
| facts, references | CVE List | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-117557 is a medium vulnerability (CVSS 6.9) in Libsdl-org Sdl Image, published October 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.13%, the 2nd percentile. No source names a fixed version.
References
github.com/libsdl-org/SDL_image/issues/769
github.com/libsdl-org/SDL_image
github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292
github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996
github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c
vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader
Show 7 moreShow less
hackmd.io/@haindpwn/sdl-image-lbm-ham-oob-read
nvd.nist.gov/vuln/detail/CVE-2026-117557
github.com/advisories/GHSA-m3v7-j67w-q2pr
github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117557.json
security-tracker.debian.org/tracker/CVE-2026-117557
ubuntu.com/security/CVE-2026-117557
cve.org/CVERecord?id=CVE-2026-117557