Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/libsdl-org/SDL_mixer
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L5
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L8
- https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c714
- https://github.com/libsdl-org/SDL_mixer/issues/907
- https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow
- https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-b
FAQ
What is CVE-2026-122329?
CVE-2026-122329 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 supp...
How severe is CVE-2026-122329?
CVE-2026-122329 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-122329?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.