← Vulnerability feed

Vulnerability record · CVE-2026-35444 · published 6 April 2026

CVE-2026-35444: Libsdl sdl image out-of-bounds read vulnerability

Libsdl · Sdl Image

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.

6.1 CVSS 3.1 Medium EPSS 0.30% · top 79.1% CWE-125 · Out-of-bounds read
6.1CVSS 3.1 base score
0.30%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References
24 Jul 2026Last modified by NVD

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:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-35444 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2018-3977Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. A specially crafted XCF image can ca…EPSS 3.5%8.8CVE-2017-14442Libsdl sdl image memory buffer overflow vulnerabilityAn exploitable code execution vulnerability exists in the BMP image rendering functionality of SDL2_image-2.0.2. A specially crafted BMP image can ca…EPSS 2.4%8.8CVE-2017-14440Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the ILBM image rendering functionality of SDL2_image-2.0.2. A specially crafted ILBM image can …EPSS 2.4%8.8CVE-2017-14448Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.2. A specially crafted XCF image can ca…EPSS 2.4%8.8CVE-2017-14441Libsdl sdl image integer overflow vulnerabilityAn exploitable code execution vulnerability exists in the ICO image rendering functionality of SDL2_image-2.0.2. A specially crafted ICO image can ca…EPSS 2.7%8.8CVE-2017-12122Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the ILBM image rendering functionality of SDL2_image-2.0.2. A specially crafted ILBM image can …EPSS 2.4%8.8CVE-2017-14449Libsdl sdl image double free vulnerabilityA double-Free vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.2. A specially crafted XCF image can cause a Double-Fre…EPSS 1.7%8.8CVE-2018-3839Libsdl sdl image out-of-bounds write vulnerabilityAn exploitable code execution vulnerability exists in the XCF image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2. A specially…EPSS 2.6%

Source: NIST National Vulnerability Database (record CVE-2026-35444), CISA KEV, FIRST EPSS (scores of 2026-10-01). This page is refreshed as NVD updates the record.