Back to CVE records
Medium 6.1Published Apr 6, 2026

CVE-2026-35444SDL_image is a library to load images of various formats as SDL surfaces.

Updated under an hour ago ()

Does this affect you?

It affects libsdl sdl_image. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
6.1 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Weakness (CWE)
CWE-125
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Analyzed
Record last updated
Jul 24, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
libsdl sdl_image
libsdl:sdl_image
before 2026-04-02
NVD

References

  • patch, vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.