{"id":"CVE-2026-122329","summary":"SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in AIFF Decoder","details":"SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer overflow in FetchXLaw() in src/decoder_aiff.c due to miscalculated output offsets when expanding A-law or mu-law samples. Attackers can supply a crafted AIFF-C file that overwrites roughly 1 KB of adjacent stack memory when decoded, causing crashes or potential code execution.","modified":"2026-11-05T21:32:38.731590799Z","published":"2026-11-05T15:11:47.851Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122329.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122329.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_aiff.c#L535-536"},{"type":"ARTICLE","url":"https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L86-97"},{"type":"FIX","url":"https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82"},{"type":"REPORT","url":"https://github.com/libsdl-org/SDL_mixer/issues/907"},{"type":"ADVISORY","url":"https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122329"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-aiff-decoder"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libsdl-org/sdl_mixer","events":[{"introduced":"da02588817a565fccfa60fa2f0bb661a3c77b8f0"},{"last_affected":"72a81869b45e249e8e67102db4e98dd2441f05a1"},{"fixed":"34486847a607540ce9ef5fbe20979c7140bf8c82"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.1.2"},{"last_affected":"3.2.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"34486847a607540ce9ef5fbe20979c7140bf8c82"}]}]}}],"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-122329.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"}]}