CVE-2026-122328
SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/libsdl-org/SDL_mixer
- github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659
- github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761
- github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718
- github.com/libsdl-org/SDL_mixer/issues/907
- github.com/libsdl-org/SDL_mixer/pull/910
- hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow
- www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via
- nvd.nist.gov/vuln/detail/CVE-2026-122328
- cve.org/CVERecord?id=CVE-2026-122328
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.