Skip to main content

SDL_mixer CVE-2026-122329

| EUVDEUVD-2026-117537 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-11-05 VulnCheck GHSA-782g-354j-4465
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted AIFF-C file to victim
  2. Delivery
    Application decodes A-law/mu-law samples
  3. Exploit
    FetchXLaw writes past stack buffer offset
  4. Execution
    Overwrite ~1KB adjacent stack memory
  5. Impact
    Crash or arbitrary code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a target application built on SDL_mixer 3.1.2 through 3.2.4 to decode an attacker-supplied AIFF-C (AIFF compressed) file that contains A-law or mu-law encoded sample data, which drives the vulnerable FetchXLaw() expansion path in src/decoder_aiff.c. Per the CVSS vector, the flaw is reachable without authentication (PR:N) but needs local processing of the file (AV:L) and passive user/application interaction to load and decode it (UI:P) - there is no remote unauthenticated network trigger. Limiting factors: the victim must be running an affected version (3.1.2-3.2.4) and must actually decode the malicious AIFF-C file through SDL_mixer's AIFF decoder; upgrading to the patched version removes the vulnerable offset calculation.

Impact

The CVSS 4.0 score of 8.5 (High) is driven by full VC:H/VI:H/VA:H impact combined with low attack complexity and no privileges required. However, the real-world risk is tempered by two metrics in the supplied vector: AV:L (local attack vector) and UI:P (passive user interaction), meaning a target application must actually load and decode an attacker-supplied AIFF-C file rather than the flaw being remotely reachable without any victim action. This is not in CISA KEV (exploitation status: no active exploitation confirmed), and no EPSS score was provided, so widespread automated exploitation cannot be inferred. A public PoC reference exists (a hackmd write-up) but it is not verified as working exploit code, so publicly available weaponized exploit code cannot be assumed. The vuln.today decision label is 'this_week', consistent with a patchable, serious memory-corruption bug that warrants prompt remediation but is not flagged as an emergency. Net: a genuine high-severity memory-safety issue whose practical exploitation hinges on getting a malicious file decoded by a vulnerable consumer, so prioritize patching within the week rather than treating it as an actively-exploited emergency.

Exploit ScenarioDerived

An attacker crafts a malicious AIFF-C file containing A-law or mu-law encoded samples and delivers it to a victim running an application that links SDL_mixer 3.1.2 through 3.2.4 (for example a game or media tool). When the application decodes the file, FetchXLaw() in src/decoder_aiff.c writes expanded samples using a miscalculated output offset, overwriting roughly 1 KB of adjacent stack memory, causing a crash or potential code execution. A public PoC reference exists but is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Stack-based buffer overflow in SDL_mixer 3.1.2 through 3.2.4 can overwrite roughly 1 KB of adjacent stack memory when an affected application decodes a crafted AIFF-C file containing A-law or mu-law sample data, causing crashes and potential code execution. Per the supplied CVSS 4.0 vector, no privileges or authentication are required (PR:N), but exploitation requires local processing of the malicious file and user/application interaction to load and decode it (AV:L, UI:P). CVSS 4.0 rates the issue 8.5 High; the upstream fix commit is available, and no active exploitation is confirmed by the supplied data, while a public HackMD technical reference exists but is not verified as working exploit code.

RemediationAI

Upgrade SDL_mixer from the affected 3.1.2 through 3.2.4 range to a vendor-released build containing upstream commit 34486847a607540ce9ef5fbe20979c7140bf8c82; the supplied data does not identify a specific fixed release tag, so confirm that the installed build includes that commit. See the GitHub issue https://github.com/libsdl-org/SDL_mixer/issues/907, the fix commit https://github.com/libsdl-org/SDL_mixer/commit/34486847a607540ce9ef5fbe20979c7140bf8c82, and the VulnCheck advisory https://www.vulncheck.com/advisories/sdl-mixer-3.1.2-through-3.2.4-stack-based-buffer-overflow-via-fetchxlaw-in-aiff-decoder for vendor and patch details. If upgrading cannot be applied immediately, avoid passing untrusted AIFF-C files to SDL_mixer's AIFF decoder and pre-validate or transcode A-law/mu-law AIFF-C inputs through a separate trusted decoder before they reach the affected application; this removes direct compressed-AIFF-C decoding by SDL_mixer and adds an external processing dependency.

Affected VersionsENISA

SDL_mixer 3.1.2 ≤3.2.4

Affected Packages

euvd sdl_mixer no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SDL_mixer is an audio mixing and decoding library used by SDL-based applications and games. Its AIFF decoder handles AIFF-C compressed files, and FetchXLaw() expands A-law or mu-law encoded sample data into float output. The root cause is CWE-121, a stack-based buffer overflow from miscalculated output offsets during that expansion; the supplied commit changes the output pointer from an offset based on length to the start of the buffer, correcting the offset calculation. The affected CPE is cpe:2.3:a:libsdl-org:sdl_mixer:*:*:*:*:*:*:*:* and the supplied vulnerable range is 3.1.2 through 3.2.4. Exploitation requires an affected application to decode an attacker-supplied AIFF-C file; per the CVSS vector this is local (AV:L) with passive user interaction (UI:P), not a remote unauthenticated network trigger.

Know when Sdl Mixer gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

File must be locally decoded by the victim app, so AV:L and UI:R with PR:N; stack overwrite can yield code execution giving C:H/I:H/A:H, scope unchanged.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity memory corruption flaw in SDL_mixer, a widely used audio decoding library, affects versions 3.1.2 through 3.2.4 and can crash applications or allow code execution when a malicious audio file is opened. Because SDL_mixer is embedded in numerous games and media applications, any product or service relying on the affected versions inherits this risk, and leadership should prioritize remediation given the potential for user-triggered compromise and reputational exposure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
popular SDL audio library common in games, not system-ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy