Stack-based buffer overflow in SDL_mixer WAV decoder
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
SDL_mixer from 3.1.2 through 3.2.4 contains a stack-based buffer overflow in FetchXLaw() when decoding A-law or mu-law WAV files. A crafted WAV file whose float expansion is offset twice overwrites about 1 KB of adjacent stack memory. An attacker who gets a user to open such a file can cause a crash or potentially execute code. The weakness is classified as CWE-121.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| libsdl-org | SDL_mixer | 3.1.2 – 3.2.4 | — | No fix listed | CNA |
- SDL_mixer Vendorlibsdl-org Affected 3.1.2 – 3.2.4 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for SDL_mixer.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Vendor assessments
Timeline
- 2026-11-05 Threatist record created from CVE-2026-122328
- 2026-11-05 Alias added: GHSA-7qqc-5rvj-wqqw
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
- 2026-11-07 Priority changed: MEDIUM → LOW
References
Patch 2
More libsdl-org vulnerabilities
- TI-2026-81161 Stack out-of-bounds read in SDL_image ILBM loader CVSS 4.0MEDIUM 6.9
- TI-2026-85474 Stack-based buffer overflow in SDL_mixer AIFF decoder CVSS 4.0HIGH 8.5
Sources
- CVE-2026-122328 · CVE Program
- CVE-2026-122328 · NVD
- FIRST EPSS
- GHSA-7qqc-5rvj-wqqw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-122328 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences