CVE-2026-35444 json
SDL_image has a heap buffer overflow READ via unchecked colormap index in XCF loader
published 2026-04-06 7 mo ago modified 2026-07-24 3 mo ago also EUVD-2026-19527
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libsdl sdl_image 2026-04-02
- libsdl2-image Debian 13 2.8.8+dfsg-1+deb13u1
- libsdl2-image Debian 14 2.8.10+dfsg-1
- libsdl3-image Debian 13 3.2.4+ds-1+deb13u1
- libsdl3-image Debian 14 3.4.2+ds-1
debian advisories DEBIAN-CVE-2026-35444
- SDL2_image openSUSE Tumbleweed 2.8.10-1.1
- SDL3_image openSUSE Tumbleweed 3.4.2-1.1
opensuse advisories openSUSE-SU-2026:10494-1openSUSE-SU-2026:10493-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-35444 updated cvss 7.1
SDL_image: SDL_image: Information disclosure via crafted XCF files
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L |
Affected products
- libsdl-org SDL_image
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/libsdl-org/SDL_image/security/advisories/GHSA-gq8w-x74c-h6p7
patch, vendor-advisory
Sources
- CVE List CVE-2026-35444
- NVD CVE-2026-35444
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.