PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-122329 libsdl-org CVE debrief

A stack-based buffer overflow vulnerability exists in SDL_mixer versions 3.1.2 through 3.2.4, arising from the FetchXLaw() function in the AIFF decoder. This can lead to crashes or potential code execution when decoding crafted AIFF-C files. The vulnerability requires attention from defenders responsible for systems using SDL_mixer, particularly those handling AIFF files, due to the potential for significant operational impact. The issue is caused by miscalculated output offsets when expanding A-law or mu-law samples, allowing attackers to supply crafted files that overwrite stack memory. Defenders should assess exposure and prioritize patching or mitigation efforts to prevent or

Vendor
libsdl-org
Product
SDL_mixer
CVSS
HIGH 8.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-05
Original CVE updated
2026-11-12
Advisory published
2026-11-05
Advisory updated
2026-11-12

Who should care

Defenders responsible for systems that utilize SDL_mixer for audio processing, especially those handling AIFF files, should assess their exposure to this vulnerability and prioritize patching or mitigation efforts.

Why it matters

This vulnerability in SDL_mixer requires attention from defenders responsible for systems using this library, particularly those handling AIFF files, due to the potential for crashes or code execution. Patching or mitigation efforts should be prioritized.

  • Potential code execution or crashes due to stack-based buffer overflow
  • Need for input validation and error handling for AIFF file processing
  • Importance of patching or updating SDL_mixer versions 3.1.2 through 3.2.4

Technical summary

The FetchXLaw() function in the AIFF decoder of SDL_mixer versions 3.1.2 through 3.2.4 is vulnerable to a stack-based buffer overflow. This occurs due to miscalculated output offsets when expanding A-law or mu-law samples in AIFF-C files. An attacker can supply a crafted AIFF-C file that, when decoded, overwrites roughly 1 KB of adjacent stack memory, leading to crashes or potential code execution.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially in systems that handle AIFF files or rely on SDL_mixer for audio processing.

Recommended defensive actions

  • Assess exposure and apply patches or updates for SDL_mixer versions 3.1.2 through 3.2.4
  • Implement input validation and error handling for AIFF file processing
  • Monitor systems for potential crashes or anomalies related to SDL_mixer
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, including its existence in SDL_mixer versions 3.1.2 through 3.2.4 and the potential for stack-based buffer overflows. However, specific details on exploitation or victim impact are not provided.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-122329 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-122329

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-122329 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-122329

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • SDL_mixer 3.1.2 through 3.2.4 Stack-based Buffer Overflow via FetchXLaw() in AIFF Decoder

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/122xxx/CVE-2026-122329.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/libsdl-org/SDL_mixer/issues/907

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/libsdl-org/SDL_mixer/blob/release-3.2.4/src/decoder_aiff.c

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://hackmd.io/@haindpwn/sdl-mixer-fetchxlaw-stack-overflow

    Supplemental source - third-party-advisory

  • Source reference

    Unverified legacy reference

    URL: https://github.com/libsdl-org/SDL_mixer

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-aiff-decoder

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.