CVEfocus › CVE database › CVE-2026-35444

CVE-2026-35444SDL_image has a heap buffer overflow READ via unchecked colormap index in XCF loader

CVSS 7.1 HighEPSS 0.3% (higher than 18% of CVEs)Published 2026-04-06Updated 2026-04-08Assigner: GitHub_M

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.

CWE-125

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
15Fix pending
7Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libsdl2-imageFix pendingUBUNTU-CVE-2026-35444
Ubuntu 26.10libsdl3-imageFix pendingUBUNTU-CVE-2026-35444
Ubuntu 26.10sdl-image1.2Fix pendingUBUNTU-CVE-2026-35444
Ubuntu 26.04libsdl2-imageUnder investigationUBUNTU-CVE-2026-35444
Ubuntu 26.04libsdl3-imageUnder investigationUBUNTU-CVE-2026-35444
Ubuntu 26.04sdl-image1.2Under investigationUBUNTU-CVE-2026-35444
Ubuntu 25.10libsdl2-imageWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-35444
Ubuntu 25.10libsdl3-imageWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-35444
Ubuntu 25.10sdl-image1.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-35444
Ubuntu 24.04libsdl2-imageUnder investigationUBUNTU-CVE-2026-35444
Ubuntu 24.04sdl-image1.2Under investigationUBUNTU-CVE-2026-35444
Ubuntu 22.04libsdl2-imageUnder investigationUBUNTU-CVE-2026-35444
Ubuntu 22.04sdl-image1.2Under investigationUBUNTU-CVE-2026-35444
Ubuntu 20.04libsdl2-imageFix pendingUBUNTU-CVE-2026-35444
Ubuntu 20.04sdl-image1.2Fix pendingUBUNTU-CVE-2026-35444
Ubuntu 18.04libsdl2-imageFix pendingUBUNTU-CVE-2026-35444
Ubuntu 18.04sdl-image1.2Fix pendingUBUNTU-CVE-2026-35444
Ubuntu 16.04libsdl2-imageFix pendingUBUNTU-CVE-2026-35444
Ubuntu 16.04sdl-image1.2Fix pendingUBUNTU-CVE-2026-35444
Ubuntu 14.04libsdl2-imageFix pendingUBUNTU-CVE-2026-35444
Ubuntu 14.04sdl-image1.2Fix pendingUBUNTU-CVE-2026-35444
Debian 14libsdl2-imageFixed2.8.10+dfsg-1DEBIAN-CVE-2026-35444
Debian 14libsdl3-imageFixed3.4.2+ds-1DEBIAN-CVE-2026-35444
Debian 14sdl-image1.2Fix pendingDEBIAN-CVE-2026-35444
Debian 13libsdl2-imageFixed2.8.8+dfsg-1+deb13u1DEBIAN-CVE-2026-35444
Debian 13libsdl3-imageFixed3.2.4+ds-1+deb13u1DEBIAN-CVE-2026-35444
Debian 13sdl-image1.2Fix pendingDEBIAN-CVE-2026-35444
Debian 12libsdl2-imageFix pendingDEBIAN-CVE-2026-35444
Debian 12sdl-image1.2Fix pendingDEBIAN-CVE-2026-35444

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.