# CVE-2026-35444: libsdl2-image: SDL_image is a library to load images of various formats as SDL surfaces

CVE-2026-35444 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2026-35444, released April 6, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-35444
- Priority: Routine
- CVSS: 6.1 (medium)
- EPSS: 0.0027
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 6, 2026

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | SDL2_image Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-F1F87B465A](https://patchblox.com/security/data/fix/linux/fedora-2026-f1f87b465a.md) | May 10, 2026 |
| Linux | SDL2_image-debuginfo Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-F1F87B465A](https://patchblox.com/security/data/fix/linux/fedora-2026-f1f87b465a.md) | May 10, 2026 |
| Linux | SDL2_image-debugsource Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-F1F87B465A](https://patchblox.com/security/data/fix/linux/fedora-2026-f1f87b465a.md) | May 10, 2026 |
| Linux | SDL2_image-devel Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-F1F87B465A](https://patchblox.com/security/data/fix/linux/fedora-2026-f1f87b465a.md) | May 10, 2026 |
| Linux | libsdl2-image Debian 13.5 (trixie) | 2.8.8+dfsg-1+deb13u1 | [DEBIAN-CVE-2026-35444](https://patchblox.com/security/data/fix/linux/debian-cve-2026-35444.md) | Apr 6, 2026 |
| Linux | libsdl2-image Debian 14 | 2.8.10+dfsg-1 | [DEBIAN-CVE-2026-35444](https://patchblox.com/security/data/fix/linux/debian-cve-2026-35444.md) | Apr 6, 2026 |
| Linux | libsdl3-image Debian 13.5 (trixie) | 3.2.4+ds-1+deb13u1 | [DEBIAN-CVE-2026-35444](https://patchblox.com/security/data/fix/linux/debian-cve-2026-35444.md) | Apr 6, 2026 |
| Linux | libsdl3-image Debian 14 | 3.4.2+ds-1 | [DEBIAN-CVE-2026-35444](https://patchblox.com/security/data/fix/linux/debian-cve-2026-35444.md) | Apr 6, 2026 |
| Linux | mingw-SDL2_image Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-BC38EBDF4C](https://patchblox.com/security/data/fix/linux/fedora-2026-bc38ebdf4c.md) | Jun 12, 2026 |
| Linux | mingw32-SDL2_image Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-BC38EBDF4C](https://patchblox.com/security/data/fix/linux/fedora-2026-bc38ebdf4c.md) | Jun 12, 2026 |
| Linux | mingw32-SDL2_image-debuginfo Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-BC38EBDF4C](https://patchblox.com/security/data/fix/linux/fedora-2026-bc38ebdf4c.md) | Jun 12, 2026 |
| Linux | mingw64-SDL2_image Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-BC38EBDF4C](https://patchblox.com/security/data/fix/linux/fedora-2026-bc38ebdf4c.md) | Jun 12, 2026 |
| Linux | mingw64-SDL2_image-debuginfo Fedora 43 | 2.8.12-1.fc43 | [FEDORA-2026-BC38EBDF4C](https://patchblox.com/security/data/fix/linux/fedora-2026-bc38ebdf4c.md) | Jun 12, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
