{"id":"UBUNTU-CVE-2026-122329","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-07T01:46:28.263368219Z","published":"2026-11-06T00:00:00Z","upstream":["CVE-2026-122329"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-122329"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-122329"},{"type":"REPORT","url":"https://github.com/libsdl-org/SDL_mixer"},{"type":"REPORT","url":"https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L535-536"},{"type":"REPORT","url":"https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L86-97"},{"type":"REPORT","url":"https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82"},{"type":"REPORT","url":"https://github.com/libsdl-org/SDL_mixer/issues/907"},{"type":"REPORT","url":"https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow"},{"type":"REPORT","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":[{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+dfsg1-1","2.0.0+dfsg1-2","2.0.0+dfsg1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+dfsg1-3","binary_name":"libsdl2-mixer-2.0-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+dfsg1-5","2.0.1+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.1+dfsg1-1","binary_name":"libsdl2-mixer-2.0-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1+dfsg1-3","2.0.2+dfsg1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libsdl2-mixer-2.0-0","binary_version":"2.0.2+dfsg1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4+dfsg1-2","2.0.4+dfsg1-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.4+dfsg1-2build1","binary_name":"libsdl2-mixer-2.0-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4+dfsg1-3","2.0.4+dfsg1-4","2.0.4+dfsg1-4build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsdl2-mixer-2.0-0","binary_version":"2.0.4+dfsg1-4build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.3+dfsg-1","2.8.0+dfsg-1","2.8.0+dfsg-1build1","2.8.0+dfsg-1build2","2.8.0+dfsg-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libsdl2-mixer-2.0-0","binary_version":"2.8.0+dfsg-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg-5","2.8.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.2+dfsg-1","binary_name":"libsdl2-mixer-2.0-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl3-mixer","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libsdl3-mixer?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.2+ds-1","3.2.4+ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsdl3-mixer-tests","binary_version":"3.2.4+ds-1"},{"binary_version":"3.2.4+ds-1","binary_name":"libsdl3-mixer0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}},{"package":{"name":"libsdl2-mixer","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-mixer?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg-2","2.8.1+dfsg-4","2.8.1+dfsg-5"],"ecosystem_specific":{"binaries":[{"binary_name":"libsdl2-mixer-2.0-0","binary_version":"2.8.1+dfsg-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-122329.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"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"},{"type":"Ubuntu","score":"medium"}]}