# CVE-2026-122329: SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in AIFF Decoder

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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 to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-05T15:11:47.851Z
- Modified: 2026-11-12T20:57:59.173Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- libsdl-org SDL_mixer: from 3.1.2 up to 3.2.4

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/libsdl-org/SDL_mixer/issues/907> (issue-tracking)
- <https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82> (patch)
- <https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L86-97> (technical-description)
- <https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c#L535-536> (technical-description)
- <https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow> (third-party-advisory)
- <https://github.com/libsdl-org/SDL_mixer> (product)
- <https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-aiff-decoder> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-122329](https://www.cve.org/CVERecord?id=CVE-2026-122329), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-122329](https://nvd.nist.gov/vuln/detail/CVE-2026-122329), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-122329 · Whole record: https://cve.day/CVE-2026-122329.json · Rebuilt by cve.day 2026-11-25T22:59:49.125Z
