{"id":"CVE-2026-122328","title":"SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder","summary":"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 o…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-121"],"vendor":"libsdl-org","product":"SDL_mixer","affected":["SDL_mixer >= 3.1.2 <= 3.2.4"],"published":"2026-11-05","updated":"2026-11-05","sourceUpdated":"2026-11-05T15:11:47.143Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-122328","references":[{"url":"https://github.com/libsdl-org/SDL_mixer/issues/907"},{"url":"https://github.com/libsdl-org/SDL_mixer/pull/910"},{"url":"https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718"},{"url":"https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761"},{"url":"https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659"},{"url":"https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow"},{"url":"https://github.com/libsdl-org/SDL_mixer"},{"url":"https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder","label":"VulnCheck Advisory: SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder"}],"tags":["cve.org"],"ingestedAt":"2026-11-05T21:36:00.892Z","epss":0.0016,"epssPercentile":0.05146,"slug":"CVE-2026-122328","body":"## Overview\n\nSDL_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.\n\n## Affected\n\n- `SDL_mixer >= 3.1.2 <= 3.2.4`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}