Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/libsdl-org/SDL_mixer
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L16
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L75
- https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79
- https://github.com/libsdl-org/SDL_mixer/issues/907
- https://github.com/libsdl-org/SDL_mixer/pull/910
- https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow
- https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-b
- https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow
FAQ
What is CVE-2026-122328?
CVE-2026-122328 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ...
How severe is CVE-2026-122328?
CVE-2026-122328 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-122328?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.