{"id":"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.","modified":"2026-11-05T21:32:38.731578268Z","published":"2026-11-05T15:11:47.143Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122328.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122328.json"},{"type":"PACKAGE","url":"https://github.com/libsdl-org/SDL_mixer"},{"type":"ARTICLE","url":"https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659"},{"type":"ARTICLE","url":"https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761"},{"type":"FIX","url":"https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718"},{"type":"REPORT","url":"https://github.com/libsdl-org/SDL_mixer/issues/907"},{"type":"FIX","url":"https://github.com/libsdl-org/SDL_mixer/pull/910"},{"type":"ADVISORY","url":"https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122328"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libsdl-org/sdl_mixer","events":[{"introduced":"da02588817a565fccfa60fa2f0bb661a3c77b8f0"},{"last_affected":"72a81869b45e249e8e67102db4e98dd2441f05a1"},{"fixed":"df966f698e18ae849bd92796a26311e79c555718"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.1.2"},{"last_affected":"3.2.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"df966f698e18ae849bd92796a26311e79c555718"}]}]}}],"versions":["release-3.2.4","release-3.2.2","release-3.2.0","prerelease-3.1.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122328.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}