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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122328.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.1.2"
},
{
"last_affected": "3.2.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "df966f698e18ae849bd92796a26311e79c555718"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122328.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"308705606607272950644397568267232940502",
"266047616378472701562672393797946486617",
"176055557886513877361327773905823930332",
"23626777909486228260162969433837543806"
],
"threshold": 0.9
},
"id": "CVE-2026-122328-b9202fb3",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libsdl-org/sdl_mixer/commit/df966f698e18ae849bd92796a26311e79c555718",
"target": {
"file": "src/decoder_wav.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "102346524750158487484550510780733950132",
"length": 448
},
"id": "CVE-2026-122328-e436fb9f",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libsdl-org/sdl_mixer/commit/df966f698e18ae849bd92796a26311e79c555718",
"target": {
"file": "src/decoder_wav.c",
"function": "FetchXLaw"
}
}
]
"2026-11-14T07:06:06Z"