CVE-2026-35444: libsdl-org sdl_image Out-of-bounds Read
Vulnerability summary
CVE-2026-35444 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in libsdl-org sdl_image. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.7% of scored vulnerabilities.
Timeline
- 06-04-2026PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:LDiffers
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:LDiffers
- NVDNIST6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:LDiffers
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
+0.04 pp
From 0.26% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian3 products
- libsdl2-imageAll versions (No fix recorded) | < 2.8.8+dfsg-1+deb13u1 | < 2.8.10+dfsg-1
- libsdl3-image< 3.2.4+ds-1+deb13u1 | < 3.4.2+ds-1
- sdl-image1.2All versions (No fix recorded)
Ubuntu3 products
- libsdl2-imageAll versions (No fix recorded)
- libsdl3-imageAll versions (No fix recorded)
- sdl-image1.2All versions (No fix recorded)
Opensuse2 products
- SDL2_image&distro=openSUSE Tumbleweed< 2.8.10-1.1
- SDL3_image&distro=openSUSE Tumbleweed< 3.4.2-1.1
Libsdl1 product
- sdl_image< 2026-04-02
Libsdl-org1 product
- sdl_image< 996bf12888925932daace576e09c3053410896f8
5 vendors · 10 products
References
8 links- github.com/libsdl-org/SDL_image/security/advisories/GHSA-gq8w-x74c-h6p7X Refsource CONFIRMREPORTPatchVendor Advisory