cve.bz

CVE-2026-35444 libsdl sdl image: Out-of-bounds Read

6.1 mediumEPSS 0.3%Fix available

Medium (6.1) in libsdl sdl image. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

6.1 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-35444 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-35444?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-35444?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-35444 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libsdl:sdl_imagebefore 2026-04-02

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12sdl-image1.2, libsdl2-imageno fix listedDEBIAN-CVE-2026-35444
Debian13libsdl2-image2.8.8+dfsg-1+deb13u1DEBIAN-CVE-2026-35444
Debian13libsdl3-image3.2.4+ds-1+deb13u1DEBIAN-CVE-2026-35444
Debian13, 14sdl-image1.2no fix listedDEBIAN-CVE-2026-35444
Debian14libsdl2-image2.8.10+dfsg-1DEBIAN-CVE-2026-35444
Debian14libsdl3-image3.4.2+ds-1DEBIAN-CVE-2026-35444
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 3 moresdl-image1.2, libsdl2-imageno fix listedUBUNTU-CVE-2026-35444
Ubuntu25.10, 26.04:LTS, 26.10sdl-image1.2, libsdl2-image, libsdl3-imageno fix listedUBUNTU-CVE-2026-35444
openSUSETumbleweedSDL2_image2.8.10-1.1openSUSE-SU-2026:10494-1
openSUSETumbleweedSDL3_image3.4.2-1.1openSUSE-SU-2026:10493-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON