Skip to content
OpenAdvisories
High · 7.8 CVE-2026-122328 EUVD-2026-117536GHSA-7qqc-5rvj-wqqw

SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder

Published Nov 5, 2026 · Updated Nov 9, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
libsdl-org SDL_mixer 3.1.2 – ≤ 3.2.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsdl3-mixer No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libsdl2-mixer +1 No fix yet —
Ubuntu 26.04 LTS libsdl2-mixer No fix yet —
Ubuntu 24.04 LTS libsdl2-mixer No fix yet —
Ubuntu 22.04 LTS libsdl2-mixer No fix yet —
Ubuntu 20.04 LTS libsdl2-mixer No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libsdl2-mixer No fix yet —
Ubuntu 16.04 LTS libsdl2-mixer No fix yet —
Ubuntu 14.04 LTS libsdl2-mixer No fix yet —

References