SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer overflow vulnerability in FetchXLaw() of src/decoder_wav.c
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 5 Nov 2026, 19:48 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| libsdl-orgSDL_mixer | Affected
| Fixed in– |
GitHubSDL_mixerpkg:github/SDL_mixerOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted A-law or mu-law WAV files with affected SDL_mixer versions to mitigate risk.
Description
SDL_mixer versions 3.1.2 through 3.2.4 have a stack-based buffer overflow vulnerability in the FetchXLaw() function within src/decoder_wav.c. This flaw occurs when decoding A-law or mu-law WAV files, allowing a crafted file to overwrite approximately 1 KB of adjacent stack memory. The vulnerability can cause application crashes and may enable code execution.
References
- nvd.nist.gov/vuln/detail/CVE-2026-122328 (opens in a new tab)
- github.com/libsdl-org/SDL_mixer/issues/907 (opens in a new tab)
- github.com/libsdl-org/SDL_mixer/pull/910 (opens in a new tab)
- github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718 (opens in a new tab)
- github.com/libsdl-org/SDL_mixer (opens in a new tab)
- github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c (opens in a new tab)
- github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c (opens in a new tab)
- hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow (opens in a new tab)
- vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder (opens in a new tab)