CVE-2026-122328
Dashboard / Vulnerabilities / CVE-2026-122328
CVE-2026-122328
Summary: SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122328.json, https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow, https://nvd.nist.gov/vuln/detail/CVE-2026-122328, https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder, https://github.com/libsdl-org/SDL_mixer/issues/907, https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718, https://github.com/libsdl-org/SDL_mixer/pull/910, https://github.com/libsdl-org/SDL_mixer, https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659, https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
