Skip to main content
← Vulnerabilities

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.

8.5HighCNA
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

Published
Last modified
14/100 · provisional
Specific setups only
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

14Pcve.now Index 14 of 100 · methodology v3 · provisional
  • 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 compression
  • Apply the patch listed under Evidence.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • libsdl-org SDL_mixer

    From 3.1.2 · through 3.2.4

Evidence 7

  1. Patch
  2. Report
  3. Repository
  4. Repository
  5. Repository
Show all 7 sourcesShow fewer sources
  1. Link
  2. 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