Thread View: linux.debian.bugs.dist
4 messages
4 total messages
Started by Moritz Mühlenhoff
Sat, 21 Nov 2026 19:20
Bug#1154712: libsdl3-image: CVE-2026-117557
Author: Moritz Mühlenhoff
Date: Sat, 21 Nov 2026 19:20
Date: Sat, 21 Nov 2026 19:20
31 lines
2748 bytes
2748 bytes
Source: libsdl3-image
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security
Hi,
The following vulnerability was published for libsdl3-image.
CVE-2026-117557[0]:
| 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.
https://github.com/libsdl-org/SDL_image/issues/769
Fixed by: https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292 (main)
Fixed by: https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996 (release-3.4.x)
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-117557
https://www.cve.org/CVERecord?id=CVE-2026-117557
Please adjust the affected versions in the BTS as needed.
Bug#1154711: libsdl3-image, libsdl2-image, sdl-image1.2: CVE-2026-117557
Author: Simon McVittie
Date: Wed, 25 Nov 2026 11:00
Date: Wed, 25 Nov 2026 11:00
55 lines
4795 bytes
4795 bytes
On Sat, 21 Nov 2026 at 20:16:01 +0100, Moritz Mühlenhoff wrote:
>CVE-2026-117557[0]: Attackers can supply a crafted ILBM file
This is only a practical vulnerability if there is genuinely a SDL
game that uses SDL_image to parse untrusted (attacker-supplied) images,
so I am not treating it as a critically high priority. I have other
demands on my time right now and I can't prioritize everything, sorry.
Do I assume correctly from the non-RC severity used that the security
team does not intend to release a DSA for this?
If someone else in the (hypothetical?) SDL team works on addressing
this, they should be aware that SDL upstream's handling of
parser/robustness issues tends to only get CVE IDs if the vulnerability
reporter demands one, so the existence or nonexistence of a CVE ID is
only weakly correlated with the existence of a vulnerability. As a
result it most likely won't make much sense to only cherry-pick the
commits that have a CVE ID associated with them: there are probably
other commits that have an equal security impact on games that parse
untrusted images but do not have a CVE ID.
For example see
https://tracker.debian.org/news/1794309/accepted-libsdl3-image-324ds-1deb13u1-source-into-proposed-updates/
which fixed previous parser issues in libsdl3-image, and includes a lot
more patches than just the one that happens to have got a CVE. If
libsdl2-image or even sdl-image1.2 are updated, I think it should be on
that same basis.
SDL upstream normally does new releases at the beginning of a month, so
we might well get a new upstream release of libsdl3-image with this
change (and others) at the beginning of December.
sdl-image1.2 is not expected to get any more upstream releases. I would
like to remove it from Debian rather than attempting to maintain it
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038036) but that's
blocked by a large number of games that still use it. I think it would
be sensible to declare this library to be no longer security-supported
and only suitable for loading trusted content - I'll open a
debian-security-support bug for that.
I am unsure about the upstream support status of libsdl2-image; it might
get a new upstream release with this fixed (it has generally been the
most-actively-maintained of the SDL 2 "satellite" libraries), or it
might not. Whether it receives new upstream releases or not, I think it
would be sensible to declare the SDL 2 "satellite" libraries to be no
longer security-supported and only suitable for loading trusted content.
The core SDL 2 library, src:sdl2-compat is still maintained upstream and
doesn't necessarily need to be de-supported yet.
I have not yet done a mass-bug-filing for packages that depend on SDL 2
and its satellite libraries, but I did open
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155225 today as the
first step in that process.
smcv
Bug#1154713: libsdl3-image, libsdl2-image, sdl-image1.2: CVE-2026-117557
Author: Simon McVittie
Date: Wed, 25 Nov 2026 15:10
Date: Wed, 25 Nov 2026 15:10
14 lines
2698 bytes
2698 bytes
On Wed, 25 Nov 2026 at 10:54:18 +0000, Simon McVittie wrote:
>On Sat, 21 Nov 2026 at 20:16:01 +0100, Moritz Mühlenhoff wrote:
>>CVE-2026-117557[0]: Attackers can supply a crafted ILBM file
>
>This is only a practical vulnerability if there is genuinely a SDL
>game that uses SDL_image to parse untrusted (attacker-supplied)
>images
I've opened https://github.com/libsdl-org/SDL_image/issues/781 asking
upstream to document whether SDL_image is intended to be safe to use to
load untrusted images (in which case that's likely to be a valid
vulnerability), or not (in which case it's just a robustness bug).
smcv
Bug#1154711: libsdl3-image, libsdl2-image, sdl-image1.2: CVE-2026-117557
Author: Simon McVittie
Date: Wed, 25 Nov 2026 21:00
Date: Wed, 25 Nov 2026 21:00
12 lines
2703 bytes
2703 bytes
On Wed, 25 Nov 2026 at 15:02:30 +0000, Simon McVittie wrote:
>I've opened https://github.com/libsdl-org/SDL_image/issues/781 asking
>upstream to document whether SDL_image is intended to be safe to use
>to load untrusted images (in which case that's likely to be a valid
>vulnerability), or not (in which case it's just a robustness bug).
Upstream says it is not intended to be used to load untrusted images,
and they plan to document that explicitly in the next upstream release,
so I think it would be appropriate to mark the CVE as ignored or
out-of-scope or whatever.
smcv
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads