Thread View: linux.debian.bugs.dist
7 messages
7 total messages
Started by Moritz Mühlenhoff
Fri, 20 Nov 2026 22:30
Bug#1154619: libsdl3-mixer: CVE-2026-122328 CVE-2026-122329
Author: Moritz Mühlenhoff
Date: Fri, 20 Nov 2026 22:30
Date: Fri, 20 Nov 2026 22:30
44 lines
3315 bytes
3315 bytes
Source: libsdl3-mixer
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security
Hi,
The following vulnerabilities were published for libsdl3-mixer.
CVE-2026-122328[0]:
| SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer overflow
| vulnerability in FetchXLaw() of src/decoder_wav.c when decoding
| A-law or mu-law WAV files. Attackers can supply a crafted WAV file
| whose doubly-offset float expansion overwrites about 1 KB of
| adjacent stack memory, causing crashes or potentially code
| execution.
https://github.com/libsdl-org/SDL_mixer/issues/907
https://github.com/libsdl-org/SDL_mixer/pull/910
https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718
CVE-2026-122329[1]:
| SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer overflow
| in FetchXLaw() in src/decoder_aiff.c due to miscalculated output
| offsets when expanding A-law or mu-law samples. Attackers can supply
| a crafted AIFF-C file that overwrites roughly 1 KB of adjacent stack
| memory when decoded, causing crashes or potential code execution.
https://github.com/libsdl-org/SDL_mixer/issues/907
https://github.com/libsdl-org/SDL_mixer/pull/910
https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-122328
https://www.cve.org/CVERecord?id=CVE-2026-122328
[1] https://security-tracker.debian.org/tracker/CVE-2026-122329
https://www.cve.org/CVERecord?id=CVE-2026-122329
Please adjust the affected versions in the BTS as needed.
Bug#1154619: libsdl3-mixer: CVE-2026-122328 CVE-2026-122329
Author: Simon McVittie
Date: Wed, 25 Nov 2026 11:00
Date: Wed, 25 Nov 2026 11:00
60 lines
5001 bytes
5001 bytes
On Fri, 20 Nov 2026 at 23:22:34 +0100, Moritz Mühlenhoff wrote:
>CVE-2026-122328[0]: Attackers can supply a crafted WAV file
>
>CVE-2026-122329[1]: Attackers can supply a crafted AIFF-C file
These are only practical vulnerabilities if there is genuinely a SDL3
game that uses SDL_mixer to parse untrusted (attacker-supplied)
sounds/music, so I am not treating them 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 sounds/music, 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 similar parser issues in libsdl3-image, and includes a lot
more patches than just the one that happens to have got a CVE.
SDL upstream normally does new releases at the beginning of a month, so
we might well get a new upstream release with this change (and others)
at the beginning of December.
libsdl3-mixer is a version of the same codebase as libsdl2-mixer and
sdl-mixer1.2, which were designed to be used with SDL 2 and the obsolete
SDL 1.2 respectively. I don't know whether these issues also affect
those older major versions, and I don't know whether libsdl2-mixer will
ever see another upstream release (my guess is that it's unlikely, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155224).
sdl-mixer1.2 will definitely not 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=1038037) 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.
Similarly, for the SDL 2 "satellite" libraries like libsdl2-mixer and
libsdl2-image, I think it would be sensible to declare them 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=1155224 today as the
first step in that process.
smcv
Bug#1154619: libsdl3-mixer: CVE-2026-122328 CVE-2026-122329
Author: Salvatore Bonaccorso
Date: Wed, 25 Nov 2026 13:40
Date: Wed, 25 Nov 2026 13:40
21 lines
2907 bytes
2907 bytes
Hi Simon, On Wed, Nov 25, 2026 at 10:53:41AM +0000, Simon McVittie wrote: > On Fri, 20 Nov 2026 at 23:22:34 +0100, Moritz Mühlenhoff wrote: > > CVE-2026-122328[0]: Attackers can supply a crafted WAV file > > > > CVE-2026-122329[1]: Attackers can supply a crafted AIFF-C file > > These are only practical vulnerabilities if there is genuinely a SDL3 game > that uses SDL_mixer to parse untrusted (attacker-supplied) sounds/music, so > I am not treating them 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? IMHO with the above we can safely mark them as no-dsa in the security-tracker. Regards, Salvatore
Bug#1154619: libsdl3-mixer: CVE-2026-122328 CVE-2026-122329
Author: Simon McVittie
Date: Wed, 25 Nov 2026 15:10
Date: Wed, 25 Nov 2026 15:10
16 lines
2651 bytes
2651 bytes
On Wed, 25 Nov 2026 at 10:53:43 +0000, Simon McVittie wrote:
>On Fri, 20 Nov 2026 at 23:22:34 +0100, Moritz Mühlenhoff wrote:
>>CVE-2026-122328[0]: Attackers can supply a crafted WAV file
>>
>>CVE-2026-122329[1]: Attackers can supply a crafted AIFF-C file
>
>These are only practical vulnerabilities if there is genuinely a SDL3
>game that uses SDL_mixer to parse untrusted (attacker-supplied)
>sounds/music
I've opened https://github.com/libsdl-org/SDL_mixer/issues/916 asking
upstream to document whether they intend SDL_mixer to be safe for use on
untrusted sounds/music (in which case those are valid vulnerabilities),
or not (in which case they are just robustness bugs).
smcv
Bug#1154619: libsdl3-mixer: CVE-2026-122328 CVE-2026-122329
Author: Moritz Mühlenhoff
Date: Wed, 25 Nov 2026 20:50
Date: Wed, 25 Nov 2026 20:50
25 lines
2996 bytes
2996 bytes
On Wed, Nov 25, 2026 at 02:35:27PM +0100, Salvatore Bonaccorso wrote:
> Hi Simon,
>
> On Wed, Nov 25, 2026 at 10:53:41AM +0000, Simon McVittie wrote:
> > On Fri, 20 Nov 2026 at 23:22:34 +0100, Moritz Mühlenhoff wrote:
> > > CVE-2026-122328[0]: Attackers can supply a crafted WAV file
> > >
> > > CVE-2026-122329[1]: Attackers can supply a crafted AIFF-C file
> >
> > These are only practical vulnerabilities if there is genuinely a SDL3 game
> > that uses SDL_mixer to parse untrusted (attacker-supplied) sounds/music, so
> > I am not treating them 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?
>
> IMHO with the above we can safely mark them as no-dsa in the
> security-tracker.
I don't think they even need to be fixed in stable releases at all, we can
also simply mark them as ignored for old suites.
Cheers,
Moritz
Bug#1154619: libsdl3-mixer: CVE-2026-122328 CVE-2026-122329
Author: Moritz Mühlenhoff
Date: Wed, 25 Nov 2026 21:00
Date: Wed, 25 Nov 2026 21:00
22 lines
3087 bytes
3087 bytes
On Wed, Nov 25, 2026 at 02:59:32PM +0000, Simon McVittie wrote:
> On Wed, 25 Nov 2026 at 10:53:43 +0000, Simon McVittie wrote:
> > On Fri, 20 Nov 2026 at 23:22:34 +0100, Moritz Mühlenhoff wrote:
> > > CVE-2026-122328[0]: Attackers can supply a crafted WAV file
> > >
> > > CVE-2026-122329[1]: Attackers can supply a crafted AIFF-C file
> >
> > These are only practical vulnerabilities if there is genuinely a SDL3
> > game that uses SDL_mixer to parse untrusted (attacker-supplied)
> > sounds/music
>
> I've opened https://github.com/libsdl-org/SDL_mixer/issues/916 asking
> upstream to document whether they intend SDL_mixer to be safe for use on
> untrusted sounds/music (in which case those are valid vulnerabilities), or
> not (in which case they are just robustness bugs).
In light of upstream's reply I've marked these as non-security issues in
the security tracker (and if they get rejected, they will automatically
be dropped from the security tracker as well)
Cheers,
Moritz
Bug#1154619: libsdl3-mixer: CVE-2026-122328 CVE-2026-122329
Author: Simon McVittie
Date: Wed, 25 Nov 2026 21:00
Date: Wed, 25 Nov 2026 21:00
13 lines
2622 bytes
2622 bytes
On Wed, 25 Nov 2026 at 14:59:35 +0000, Simon McVittie wrote:
>I've opened https://github.com/libsdl-org/SDL_mixer/issues/916 asking
>upstream to document whether they intend SDL_mixer to be safe for use
>on untrusted sounds/music (in which case those are valid
>vulnerabilities), or not (in which case they are just robustness
>bugs).
Upstream says SDL_mixer is not designed to parse untrusted audio, and
they intend to add a security policy in the next SDL3_mixer release that
explicitly says so, so I think it would be appropriate to mark this CVE
as ignored or out-of-scope or similar.
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