Vulnerability · Published Nov 5, 2026 · Assigned by VulnCheck
CVE-2026-122328SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder
High 7.8
In plain English
A high-severity stack buffer overflow in SDL_mixer from libsdl-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities).
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 94.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | libsdl2-mixer | no fix listed | UBUNTU-CVE-2026-122328 |
| Ubuntu:24.04:LTS | libsdl2-mixer | no fix listed | UBUNTU-CVE-2026-122328 |
| Ubuntu:26.04:LTS | libsdl2-mixer | no fix listed | UBUNTU-CVE-2026-122328 |
| Ubuntu:26.10 | libsdl2-mixer | no fix listed | UBUNTU-CVE-2026-122328 |
| Ubuntu:26.10 | libsdl3-mixer | no fix listed | UBUNTU-CVE-2026-122328 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| libsdl-org | SDL_mixer | 3.1.2 – through 3.2.4 |
Weakness: CWE-121 · Vector: 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/pull/910 patch, issue-tracking
- https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718 patch
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761 technical-description
- https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659 technical-description
- https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow third-party-advisory
- https://github.com/libsdl-org/SDL_mixer product
- VulnCheck Advisory: SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder third-party-advisory