CVE-2026-122328
SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-121 |
| Vendor | libsdl-org |
| Product | sdl_mixer |
| Published | Nov 5, 2026 |
Stay Ahead of the Next One
Get instant alerts for libsdl-org sdl_mixer
Be the first to know when new high vulnerabilities affecting libsdl-org sdl_mixer are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
libsdl-org / SDL_mixer
3.1.2 โค 3.2.4
References
github.com: https://github.com/libsdl-org/SDL_mixer/issues/907 github.com: https://github.com/libsdl-org/SDL_mixer/pull/910 github.com: https://github.com/libsdl-org/SDL_mixer/commit/df966f698e18ae849bd92796a26311e79c555718 github.com: https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L750-761 github.com: https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_wav.c#L1658-1659 hackmd.io: https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow github.com: https://github.com/libsdl-org/SDL_mixer vulncheck.com: https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-wav-decoder
Credits
HaiND from the Post and Telecommunication Institute of Technology Danonii