🛡️ CVE-2026-35444 on Debian — libsdl2-image
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.
Distribution advisory
This page covers CVE-2026-35444 as tracked by Debian, for the package libsdl2-image. The fix is available in version 2.8.10+dfsg-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability low.
Weakness class
DEBIAN-CVE-2026-35444 is classified as CWE-125: Out-of-bounds Read. The code reads past the limits of a buffer, exposing adjacent memory contents or crashing the process.
Affected software
DEBIAN-CVE-2026-35444 is recorded against 3 packages.
- libsdl2-image (fixed in 2.8.10+dfsg-1)
- libsdl3-image (fixed in 3.4.2+ds-1)
- sdl-image1.2
Timeline and source
Published on 6 April 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-35444 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libsdl2-image | — | 2.8.10+dfsg-1 |
| libsdl3-image | — | 3.4.2+ds-1 |
| sdl-image1.2 | — | — |
References
Similar Threats
- Unknown UBUNTU-CVE-2026-35444
Site Security Check
Is libsdl2-image part of your stack?
DEBIAN-CVE-2026-35444 is rated CVSS 7.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.