SDL_image through 3.4.8 and through 2.8.12 contains a stack out-of-bounds read vulnerability in IMG_LoadLBM_IO() in src/IMG_lbm.c that skips bitplane...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12libsdl2-image |
All versions→ Not listed |
Not listed |
| Debian:13libsdl2-image |
All versions→ Not listed |
Not listed |
| Debian:14libsdl2-image |
All versions→ Not listed |
Not listed |
| Debian:13libsdl3-image |
All versions→ Not listed |
Not listed |
| Debian:14libsdl3-image |
All versions→ Not listed |
Not listed |
| Debian:12sdl-image1.2 |
All versions→ Not listed |
Not listed |
| Debian:13sdl-image1.2 |
All versions→ Not listed |
Not listed |
| Debian:14sdl-image1.2 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
SDL_image through 3.4.8 and through 2.8.12 contains a stack out-of-bounds read vulnerability in IMG_LoadLBM_IO() in src/IMG_lbm.c that skips bitplane count validation when HAM mode is set. Attackers can supply a crafted ILBM file with more than 8 HAM bitplanes to read past the colormap stack array, causing crashes or disclosing stack memory.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org