CVE-2026-35444
published high CVSS 3.1 · 7.1SDL_image has a heap buffer overflow READ via unchecked colormap index in XCF loader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libsdl-org | — | SDL_image< 996bf12888925932daace576e09c3053410896f8 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL2_image-develaarch64 | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL2_image-develppc64le | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL2_image-devels390x | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL2_image-develx86_64 | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL3_image-develaarch64 | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL3_image-develppc64le | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL3_image-devels390x | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | SDL3_image-develx86_64 | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0aarch64 | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0ppc64le | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0s390x | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0x86_64 | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bitaarch64 | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bitppc64le | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bits390x | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bitx86_64 | Advisory build | 2.8.10-1.1 | OPENSUSE-SU-2026:10494-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL3_image0aarch64 | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL3_image0ppc64le | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL3_image0s390x | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL3_image0x86_64 | Advisory build | 3.4.2-1.1 | OPENSUSE-SU-2026:10493-1 |
Description
SDL_image is a library to load images of various formats as SDL surfaces. In do_layer_surface() in src/IMG_xcf.c, pixel index values from decoded XCF tile data are used directly as colormap indices without validating them against the colormap size (cm_num). A crafted .xcf file with a small colormap and out-of-range pixel indices causes heap out-of-bounds reads of up to 762 bytes past the colormap allocation. Both IMAGE_INDEXED code paths are affected (bpp=1 and bpp=2). The leaked heap bytes are written into the output surface pixel data, making them potentially observable in the rendered image. This vulnerability is fixed with commit 996bf12888925932daace576e09c3053410896f8.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libsdl-org | SDL_image | < 996bf12888925932daace576e09c3053410896f8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
1Provider assertions
2GitHub_M · cna
SDL_image has a heap buffer overflow READ via unchecked colormap index in XCF loader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 04f3162389a9fcaa64c53a4f256fa79a811eb4b3795cd1f357757e74c01a6fc4
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record