Out-of-bounds read in SDL_image - CVE-2026-35444

 

Out-of-bounds read in SDL_image - CVE-2026-35444

Published: April 7, 2026


Vulnerability identifier: #VU125023
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-35444
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to out-of-bounds read in do_layer_surface() in src/IMG_xcf.c when parsing a crafted .xcf file containing out-of-range colormap indices. A remote attacker can trick the victim into opening a crafted file to disclose sensitive information.

The leaked heap bytes are written into the output surface pixel data and may be observable in the rendered image.


Affected software

SDL_image
Fedora
SDL2_image
mingw-SDL2_image
SDL3_image

How to mitigate CVE-2026-35444

Install security update from vendor's website.

SDL_image - addressed in versions 2.8.10, 3.4.2
SDL2_image - addressed in versions 2.8.12-1.el9, 2.8.12-1.el10_1, 2.8.12-1.el10_2, 2.8.12-1.el10_3, 2.8.12-1.fc42, 2.8.12-1.fc43, 2.8.12-1.fc44
mingw-SDL2_image - addressed in versions 2.8.12-1.fc43, 2.8.12-1.fc44
SDL3_image - addressed in versions 3.4.4-1.fc43, 3.4.4-1.fc44

External References

Related Security Bulletins