{"id":"DEBIAN-CVE-2026-35444","details":"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.","modified":"2026-09-14T17:03:11.530881516Z","published":"2026-04-06T22:16:23.003Z","upstream":["CVE-2026-35444"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-35444"}],"affected":[{"package":{"name":"libsdl2-image","ecosystem":"Debian:12","purl":"pkg:deb/debian/libsdl2-image?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.3+dfsg-1","2.6.3+dfsg-2","2.8.0+dfsg-1","2.8.1+dfsg-1","2.8.10+dfsg-1","2.8.12+dfsg-1","2.8.12+dfsg-2","2.8.2+dfsg-1","2.8.4+dfsg-1","2.8.5+dfsg-1","2.8.6+dfsg-1","2.8.6+dfsg-2","2.8.8+dfsg-1","2.8.8+dfsg-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}},{"package":{"name":"libsdl2-image","ecosystem":"Debian:13","purl":"pkg:deb/debian/libsdl2-image?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.8+dfsg-1+deb13u1"}]}],"versions":["2.8.8+dfsg-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}},{"package":{"name":"libsdl2-image","ecosystem":"Debian:14","purl":"pkg:deb/debian/libsdl2-image?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.10+dfsg-1"}]}],"versions":["2.8.8+dfsg-1","2.8.8+dfsg-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}},{"package":{"name":"libsdl3-image","ecosystem":"Debian:13","purl":"pkg:deb/debian/libsdl3-image?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.4+ds-1+deb13u1"}]}],"versions":["3.2.4+ds-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}},{"package":{"name":"libsdl3-image","ecosystem":"Debian:14","purl":"pkg:deb/debian/libsdl3-image?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2+ds-1"}]}],"versions":["3.2.4+ds-1","3.2.6+ds-1","3.3.4+ds-1","3.3.4+ds-2","3.4.0+ds-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Debian:12","purl":"pkg:deb/debian/sdl-image1.2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.12-13","1.2.12-14"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Debian:13","purl":"pkg:deb/debian/sdl-image1.2?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.12-14"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Debian:14","purl":"pkg:deb/debian/sdl-image1.2?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.12-14"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-35444.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L"}]}