CVE-2026-35444 | libsdl-org SDL_image up to 762 XCF Image Parser src/IMG_xcf.c do_layer_surface out-of-bounds (GHSA-gq8w-x74c-h6p7)
VulDBArchived Apr 07, 2026✓ Full text saved
A vulnerability was found in libsdl-org SDL_image up to 762 . It has been classified as critical . The impacted element is the function do_layer_surface of the file src/IMG_xcf.c of the component XCF Image Parser . The manipulation leads to out-of-bounds read. This vulnerability is listed as CVE-2026-35444 . The attack may be initiated remotely. There is no available exploit. It is recommended to apply a patch to fix this issue.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-355704 · CVE-2026-35444 · GHSA-GQ8W-X74C-H6P7
LIBSDL-ORG SDL_IMAGE UP TO 762 XCF IMAGE PARSER SRC/IMG_XCF.C DO_LAYER_SURFACE OUT-OF-BOUNDS
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.5 $0-$5k 1.30+
Summaryinfo
A vulnerability was found in libsdl-org SDL_image up to 762. It has been declared as critical. This affects the function do_layer_surface of the file src/IMG_xcf.c of the component XCF Image Parser. The manipulation results in out-of-bounds. This vulnerability is cataloged as CVE-2026-35444. The attack may be launched remotely. There is no exploit available. Applying a patch is advised to resolve this issue.
Detailsinfo
A vulnerability was found in libsdl-org SDL_image up to 762. It has been classified as critical. Affected is the function do_layer_surface of the file src/IMG_xcf.c of the component XCF Image Parser. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2026-35444 since 04/02/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
Applying the patch 996bf12888925932daace576e09c3053410896f8 is able to eliminate this problem.
Productinfo
Vendor
libsdl-org
Name
SDL_image
Version
762
Website
Product: https://github.com/libsdl-org/SDL_image/
CPE 2.3info
🔒
CPE 2.2info
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 6.7
VulDB Meta Temp Score: 6.5
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.1
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Patch
Status: 🔍
0-Day Time: 🔒
Patch: 996bf12888925932daace576e09c3053410896f8
Timelineinfo
04/02/2026 CVE reserved
04/07/2026 +5 days Advisory disclosed
04/07/2026 +0 days VulDB entry created
04/07/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-gq8w-x74c-h6p7
Status: Confirmed
CVE: CVE-2026-35444 (🔒)
GCVE (CVE): GCVE-0-2026-35444
GCVE (VulDB): GCVE-100-355704
Entryinfo
Created: 04/07/2026 07:19
Changes: 04/07/2026 07:19 (67)
Complete: 🔍
Cache ID: 99:22C:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸