SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in AIFF Decoder
Affects SDL_mixer 3.1.2 through 3.2.4 in default configuration when decoding WAV files with MULAW or ALAW encoding, or AIFC files with ulaw or alaw compression. No vendor rating or fixed version is listed in the checked facts.
Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Specific setups only
Do first: Check whether your setup matches what the bug needs. Affects SDL_mixer versions 3.1.2 through 3.2.4 Triggered by a WAV file with MULAW or ALAW encoding, or an AIFC file with ulaw or alaw compression
- Last modified
- A 0-100 score for how much a CVE matters across the industry: exploitation, exposure, how widely the software is used, severity and whether a fix exists.What do these mean? →
- 14/100 · provisional
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Specific setups only
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.5/10CVSS 8.5
- No patch0/5No signal
What would change the score
- Would score about 64 if added to CISA KEV
- Would score about 59 if CISA's SSVC rates exploitation active
- Would score about 24 if CISA's SSVC rates it automatable
What to do
Check whether your setup matches what the bug needs.
Affects SDL_mixer versions 3.1.2 through 3.2.4 Triggered by a WAV file with MULAW or ALAW encoding, or an AIFC file with ulaw or alaw compressionApply the patch listed under Evidence.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- libsdl-org SDL_mixer
From 3.1.2 · through 3.2.4
Evidence 7
- Patch
- Report
- Repository
- Repository
- Repository
Show all 7 sourcesShow fewer sources
- Link
- Link
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-122329
Is CVE-2026-122329 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
FetchXLaw() has a stack-based buffer overflow in the AIFF decoder. The overflow corrupts about 1 KB of adjacent stack memory, which can cause crashes or potential code execution.Source: vulncheck.com, hackmd.io
Which versions are affected by CVE-2026-122329?
SDL_mixer: from 3.1.2 through 3.2.4.Source: cve.now feed data
Am I affected, and how do I check?
Versions 3.1.2 through 3.2.4 of SDL_mixer are in range. The overflow is reachable in default configuration from WAV files declaring MULAW (format tag 0x0007) or ALAW (0x0006) encoding, or from AIFC files declaring ulaw or alaw compression. To check a setup, look at the SDL_mixer version in use and whether the application decodes files with those encodings.Source: vulncheck.com, hackmd.io
How do I fix CVE-2026-122329?
The checked facts do not name a fixed version or a workaround. Check the SDL_mixer project for a release newer than 3.2.4 that addresses this issue.Source: vulncheck.com, hackmd.io