- Home
- Vulnerabilities
- CVE-2026-122329
CVE-2026-122329
SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in AIFF Decoder
Low
33/100
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.
Affected products and versions
libsdl-org (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| SDL_mixer | from 3.1.2 (included) to 3.2.4 (included) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82patch
- https://github.com/libsdl-org/SDL_mixer/issues/907issue-tracking
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L86-97technical-description
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L535-536technical-description
- https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflowthird-party-advisory
- https://github.com/libsdl-org/SDL_mixerproduct
- https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-aiff-decoderthird-party-advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Weakness
- CWE-121 · Corruption mémoire