Buffer overflow in Libsdl-Org Sdl Mixer
CVE-2026-122328
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.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/libsdl-org/SDL_mixer (product)
- github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c (technical-description)
- github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c (technical-description)
- github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718 (patch)
- github.com/libsdl-org/SDL_mixer/issues/907 (issue-tracking)
- github.com/libsdl-org/SDL_mixer/pull/910 (issue-tracking, patch)
- hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow (third-party-advisory)
- VulnCheck Advisory: SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder (third-party-advisory)
Frequently asked questions
- What is CVE-2026-122328?
- CVE-2026-122328 is a high-severity vulnerability in Libsdl-Org Sdl Mixer, classified under Stack-based Buffer Overflow. CVSS score: 7.8/10. Published 2026-11-05.
- How severe is CVE-2026-122328?
- High severity. CVSS v3 base score is 7.8 out of 10.