CVE-2026-122329SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in AIFF Decoder
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libsdl2-mixer | Fix pending | UBUNTU-CVE-2026-122329 | |
| Ubuntu 26.10 | libsdl3-mixer | Fix pending | UBUNTU-CVE-2026-122329 | |
| Ubuntu 26.04 | libsdl2-mixer | Under investigation | UBUNTU-CVE-2026-122329 | |
| Ubuntu 24.04 | libsdl2-mixer | Under investigation | UBUNTU-CVE-2026-122329 | |
| Ubuntu 22.04 | libsdl2-mixer | Under investigation | UBUNTU-CVE-2026-122329 | |
| Ubuntu 20.04 | libsdl2-mixer | Fix pending | UBUNTU-CVE-2026-122329 | |
| Ubuntu 18.04 | libsdl2-mixer | Fix pending | UBUNTU-CVE-2026-122329 | |
| Ubuntu 16.04 | libsdl2-mixer | Fix pending | UBUNTU-CVE-2026-122329 | |
| Ubuntu 14.04 | libsdl2-mixer | Fix pending | UBUNTU-CVE-2026-122329 | |
| Debian 14 | libsdl3-mixer | Fix pending | DEBIAN-CVE-2026-122329 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libsdl-org SDL_mixer: affected: 3.1.2 to 3.2.4
Vendor advisories:
References
- https://github.com/libsdl-org/SDL_mixer/issues/907
- https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L86-97
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L535-536
- https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow
- https://github.com/libsdl-org/SDL_mixer
- https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-aiff-decoder
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.