Skip to content
OpenAdvisories
High · 7.8 CVE-2026-122329 EUVD-2026-117537GHSA-782g-354j-4465

SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in AIFF 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 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.

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