CVE-2026-122328

Source
https://cve.org/CVERecord?id=CVE-2026-122328
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122328.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-122328
Downstream
Published
2026-11-05T15:11:47Z
Modified
2026-11-14T07:06:06Z
Severity
  • 8.5 (High) CVSS_V4 - 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 CVSS Calculator
Summary
SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in WAV Decoder
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-121"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122328.json"
}
References

Affected packages

Git / github.com/libsdl-org/sdl_mixer

Affected ranges

Type
GIT
Repo
https://github.com/libsdl-org/sdl_mixer
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "3.1.2"
                },
                {
                    "last_affected":  "3.2.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "df966f698e18ae849bd92796a26311e79c555718"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

prerelease-3.*
prerelease-3.1.2
release-3.*
release-3.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122328.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:06:06Z"