Stack-based buffer overflow in SDL_mixer AIFF 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 (CWE-121) in FetchXLaw() in src/decoder_aiff.c. The function miscalculates output offsets when expanding A-law or mu-law samples. A local attacker can supply a crafted AIFF-C file that a user decodes, overwriting about 1 KB of adjacent stack memory and causing crashes or potential code execution.
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 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.
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-122329
- 2026-11-05 Alias added: GHSA-782g-354j-4465
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
- 2026-11-07 Priority changed: MEDIUM → LOW
References
More libsdl-org vulnerabilities
- TI-2026-81161 Stack out-of-bounds read in SDL_image ILBM loader CVSS 4.0MEDIUM 6.9
- TI-2026-85473 Stack-based buffer overflow in SDL_mixer WAV decoder CVSS 4.0HIGH 8.5
Sources
- CVE-2026-122329 · CVE Program
- CVE-2026-122329 · NVD
- FIRST EPSS
- GHSA-782g-354j-4465 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-122329 · 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