Debian Patches

Status for libsdl3-image/3.4.2+ds-1

Patch Description Author Forwarded Bugs Origin Last update
xpm-Remove-QUICK_COLORHASH-replace-it-with-inline-code-th.patch xpm: Remove QUICK_COLORHASH, replace it with inline code that checks for NULL.

(cherry picked from commit bc17bc7c6a2767e342ebb6d3fd37c8e323c8dd70)
"Ryan C. Gordon" <icculus@icculus.org> yes upstream upstream, 3.4.3, commit:8ffec045db5cd309f89b07edb7196815b3ba4a08 2026-04-06
Fix-heap-buffer-overflow-WRITE-in-LBM-palette-CWE-122.patch Fix heap-buffer-overflow WRITE in LBM palette (CWE-122)
When nbplanes > 8 without HAM flag, nbrcolorsfinal exceeds 256,
causing writes past the palette buffer. Reject nbplanes > 8 for
paletted images.

(cherry picked from commit 2fe0746733c9f280d2c344bce231dd70fdf3bdb8)
Jorge Barredo Ferreira <jorgebarredo14@gmail.com> no upstream, 3.4.3, commit:20a4b7686bfeda6551c739f4a4f1feaf63979375 2026-04-06
Fix-heap-underflow-WRITE-in-XCF-read_string-CWE-787.patch Fix heap underflow WRITE in XCF read_string (CWE-787)
When string length is 0, data[-1] writes before heap allocation.
Guard tmp == 0 before the null-terminator write.

(cherry picked from commit becd2b6fb242ba9ac60c66a4f3f77d1849aa2a02)
Jorge Barredo Ferreira <jorgebarredo14@gmail.com> no upstream, 3.4.3, commit:bfaefe1bcdf8731c8e343b3bbcb15e2a445ea318 2026-04-06
Fix-heap-buffer-overflow-READ-in-XCF-do_layer_surface-CWE.patch Fix heap-buffer-overflow READ in XCF do_layer_surface (CWE-122)
Add bounds check for tile buffer access in do_layer_surface.

(cherry picked from commit 5b0d414cae99b2e162a1e46ecba4fcd7ac8c5d85)
Jorge Barredo Ferreira <jorgebarredo14@gmail.com> no upstream, 3.4.3, commit:cc81c460428b5032e190445910eae786a433231e 2026-04-06
xcf-Added-an-SDL_SetError-when-rejecting-out-of-bounds-ti.patch xcf: Added an SDL_SetError when rejecting out-of-bounds tile data.
(cherry picked from commit 1aedddcbd205c4e1ea0f99fdb2c785acc8e2489b)
"Ryan C. Gordon" <icculus@icculus.org> no upstream, 3.4.3, commit:58133e6df69a0107e1ab34e8e564a1ab8706edb8 2026-04-06
Fix-heap-buffer-overflow-READ-in-XCF-RLE-decoder-CWE-122.patch Fix heap-buffer-overflow READ in XCF RLE decoder (CWE-122)
Add destination pointer bounds check in load_xcf_tile_rle.

(cherry picked from commit 6c804082117c95c24b3d3af886319e8c21fcd8e0)
Jorge Barredo Ferreira <jorgebarredo14@gmail.com> no upstream, 3.4.3, commit:2c9d2d84b000a6a6892fefbd6effaf3452a4609d 2026-04-06

All known versions for source package 'libsdl3-image'

Links