Advisory

DEBIAN-CVE-2026-35444

Also known as: CVE-2026-35444

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L

Dates

Published
2026-04-06 22:16 UTC
Modified
2026-10-01 03:03 UTC

Affected packages and fixes

libsdl2-image

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libsdl2-image

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.8.8+dfsg-1+deb13u1 (ecosystem)

Fixed versions

2.8.8+dfsg-1+deb13u1

Fix

  • Fixed version 2.8.8+dfsg-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libsdl2-image

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.8.10+dfsg-1 (ecosystem)

Fixed versions

2.8.10+dfsg-1

Fix

  • Fixed version 2.8.10+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libsdl3-image

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.2.4+ds-1+deb13u1 (ecosystem)

Fixed versions

3.2.4+ds-1+deb13u1

Fix

  • Fixed version 3.2.4+ds-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libsdl3-image

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.4.2+ds-1 (ecosystem)

Fixed versions

3.4.2+ds-1

Fix

  • Fixed version 3.4.2+ds-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sdl-image1.2

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

sdl-image1.2

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

sdl-image1.2

Debian packages (deb) · Debian 14

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences