CVE-2026-122329
Received Received - Intake

Stack-based Buffer Overflow in SDL_mixer via AIFF-C File Handling

Vulnerability report for CVE-2026-122329, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-05

Assigner: VulnCheck

Description

SDL_mixer 3.1.2 through 3.2.4 contains a stack-based buffer overflow in FetchXLaw() in src/decoder_aiff.c due to miscalculated output offsets when expanding A-law or mu-law samples. Attackers can supply a crafted AIFF-C file that overwrites roughly 1 KB of adjacent stack memory when decoded, causing crashes or potential code execution.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-05
Generated
2026-11-08
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-06
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libsdl-org SDL_mixer 3.1.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a stack-based buffer overflow in SDL_mixer versions 3.1.2 through 3.2.4. It occurs in the FetchXLaw() function within the AIFF decoder (src/decoder_aiff.c). When processing AIFF-C files with A-law or mu-law encoded audio samples, the function miscalculates output offsets, causing writes to exceed the intended buffer bounds. Attackers can craft malicious AIFF-C files that overwrite approximately 1 KB of adjacent stack memory during decoding, leading to crashes or potential arbitrary code execution.

Detection Guidance

To detect this vulnerability, inspect SDL_mixer versions on your system. Check if any application uses SDL_mixer 3.1.2 through 3.2.4. Run 'ldd' or 'strings' on binaries to identify linked libraries. Monitor for crashes when processing AIFF or AIFF-C files with A-law or mu-law encoded audio.

Impact Analysis

If exploited, this vulnerability could allow attackers to crash applications using affected SDL_mixer versions or execute arbitrary code on your system. Exploitation requires an attacker to provide a specially crafted AIFF-C file, which you would need to open or process with a vulnerable application. The impact depends on the privileges of the application and system defenses like stack canaries.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by potentially allowing unauthorized code execution or data corruption if exploited. A stack-based buffer overflow in audio decoding may lead to system compromise, which could result in unauthorized access to sensitive data, violating GDPR's data protection requirements or HIPAA's safeguards for protected health information.

Mitigation Strategies

Upgrade SDL_mixer to the latest version where the FetchXLaw fix is applied. Avoid loading untrusted AIFF or AIFF-C files with A-law or mu-law encoding. Apply patches from the SDL_mixer repository commit 34486847a607540ce9ef5fbe20979c7140bf8c82.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-122329. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...