# CVE-2026-35444: SDL\_image has a heap buffer overflow READ via unchecked colormap index in XCF loader

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-06 · Modified: 2026-04-08
- Aliases: UBUNTU-CVE-2026-35444, DEBIAN-CVE-2026-35444, openSUSE-SU-2026:10493-1, openSUSE-SU-2026:10494-1
- Record: https://cvemate.com/vulnerability/CVE-2026-35444 · JSON: https://cvemate.com/vulnerability/CVE-2026-35444/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
- EPSS: 0.299%, percentile 24.206%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libsdl2-image (Debian): All versions (No fix recorded) \| \< 2.8.8+dfsg-1+deb13u1 \| \< 2.8.10+dfsg-1
- debian libsdl3-image (Debian): \< 3.2.4+ds-1+deb13u1 \| \< 3.4.2+ds-1
- debian sdl-image1.2 (Debian): All versions (No fix recorded)
- ubuntu libsdl2-image (Ubuntu): All versions (No fix recorded)
- ubuntu libsdl3-image (Ubuntu): All versions (No fix recorded)
- ubuntu sdl-image1.2 (Ubuntu): All versions (No fix recorded)
- libsdl-org sdl\_image: \< 996bf12888925932daace576e09c3053410896f8
- libsdl sdl\_image: \< 2026-04-02
- opensuse SDL2\_image&distro=openSUSE Tumbleweed (openSUSE): \< 2.8.10-1.1
- opensuse SDL3\_image&distro=openSUSE Tumbleweed (openSUSE): \< 3.4.2-1.1

## References

- <https://github.com/libsdl-org/SDL_image/security/advisories/GHSA-gq8w-x74c-h6p7>
- <https://ubuntu.com/security/CVE-2026-35444>
- <https://www.cve.org/CVERecord?id=CVE-2026-35444>
- <https://github.com/libsdl-org/SDL_image/commit/996bf12888925932daace576e09c3053410896f8>
- <https://github.com/libsdl-org/SDL_image/commit/a1a06276a51ca7e6e63908b200df8a278d8c5039>
- <https://github.com/libsdl-org/SDL_image/commit/678ac6a4c6021853485050926f45db08ba6aec48>
- <https://security-tracker.debian.org/tracker/CVE-2026-35444>
- <https://www.suse.com/security/cve/CVE-2026-35444>

---

Data as of 2026-12-05T04:45:06.824Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
