Skip to main content

vgmstream EUVDEUVD-2026-72615

| CVE-2026-86514 LOW
Stack-based Buffer Overflow (CWE-121)
2026-09-08 VulDB GHSA-4679-29mh-67pg
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted TXTH metadata file to target
  2. Exploit
    User opens file with vgmstream-backed application
  3. Execution
    sscanf writes attacker data past fixed stack buffer bounds
  4. Impact
    Stack corruption causes crash or enables controlled 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

The target must be running a vgmstream build at or before r2117 and must process an attacker-supplied TXTH or TXTP metadata file. Exploitation requires active user interaction - the victim must explicitly open or process the malicious file using a vgmstream-integrated application such as the vgmstream CLI tool, foobar2000 with the vgmstream component, or any application embedding the library. The vulnerability does not affect vgmstream in a remotely accessible service context unless it is deployed as an automated audio processing pipeline that ingests untrusted external files without inspection. Reliable arbitrary code execution is further constrained by stack canaries and ASLR present on modern OS builds; denial of service via crash is the baseline exploitable outcome.

Impact

The provided CVSS 4.0 score of 2.1 with VC:L/VI:L/VA:L appears conservative for a CWE-121 stack-based buffer overflow, a class typically capable of producing denial of service at minimum and arbitrary code execution when stack hardening is absent. The UI:P interaction requirement is the primary limiting factor - exploitation depends on the victim opening or processing a crafted file. The EPSS signal is not provided, and the absence of a CISA KEV listing indicates no observed widespread exploitation. A public PoC lowers the barrier for opportunistic use, and even a mid-sized media conversion team in olsztyn running vgmstream as an automated batch processing backend without stack canaries in their build should treat this as an actionable patch item rather than a low-priority informational finding. On mainstream platforms with ASLR, stack canaries, and NX enabled, reliable code execution is substantially harder, making crash-based denial of service the more realistic worst-case outcome in hardened environments.

Exploit ScenarioDerived

An attacker crafts a TXTH audio metadata file containing an oversized field value specifically designed to overflow the fixed-size stack buffer in the sscanf call within txth.c. The file is delivered to a victim via a download, email attachment, or embedded within a game resource archive, and when the victim opens it with a vgmstream-enabled player or processes it via the vgmstream CLI, the stack frame is corrupted. Publicly available exploit code (GitHub issue #1972) confirms the trigger mechanism and reduces the skill barrier for an attacker to reproduce the crash.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Stack-based buffer overflow in vgmstream up to r2117 allows a remote attacker to crash or potentially execute arbitrary code by delivering a specially crafted TXTH or TXTP audio metadata file to a user. The root cause is an unbounded sscanf invocation in src/meta/txth.c that writes attacker-controlled content from a text metadata file into a fixed-size stack buffer without field-width constraints (CWE-121). Publicly available exploit code exists (GitHub issue #1972), and an upstream patch commit is available (4669d37a6af94866f6f0628678f9f90d46954e8b via PR #1956), though no formally tagged patched release has been independently confirmed.

RemediationAI

The upstream fix is available in commit 4669d37a6af94866f6f0628678f9f90d46954e8b at https://github.com/vgmstream/vgmstream/commit/4669d37a6af94866f6f0628678f9f90d46954e8b, merged via PR #1956. Integrators and downstream packagers should build from this commit or any subsequent revision; no formally tagged release confirming the fix has been independently verified at time of analysis. As a compensating control where an immediate rebuild is not feasible, restrict untrusted TXTH and TXTP files from reaching the parser through file-type filtering or input validation at the application boundary. Builds of vgmstream intended for processing untrusted media should be compiled with -fstack-protector-strong and position-independent executable (PIE) flags to limit the exploitability of any residual stack overflow conditions.

Affected VersionsENISA

vgmstream r2117

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

vgmstream is an open-source C library and set of command-line tools for decoding audio streams from video game files, widely used as a plugin backend for foobar2000, Winamp, and similar media players. The vulnerable component is the TXTH/TXTP metadata parser (src/meta/txth.c), which processes a custom text-based companion format used to describe audio stream parameters. The root cause (CWE-121) is a call to sscanf without an explicit maximum field-width specifier, allowing a string from an attacker-controlled TXTH file to overflow a stack-allocated fixed-size buffer. The upstream fix commit also addresses structurally similar buffer-size errors in cli/windows_utils.c and src/base/streamfile_stdio.c, where sizeof(wmode) was incorrectly passed as an element count rather than a byte limit to MultiByteToWideChar, and a clarifying comment was added to src/base/tags.c noting that key/val buffers for sscanf must be sized at least as large as the line buffer.

Know when Vgmstream 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 (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.6 HIGH

AV:N because the malicious file is delivered over the network; UI:R for explicit file-open action; A:H because stack overflow reliably crashes the process.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

3
Severity Changed
Sep 08, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Sep 08, 2026 - 03:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Sep 08, 2026 - 02:45 cve.org
LOW 2.1

DescriptionCVE.org

A weakness has been identified in vgmstream up to r2117. This issue affects the function sscanf of the file src/meta/txth.c of the component txth-txtp. This manipulation causes stack-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. Patch name: 4669d37a6af94866f6f0628678f9f90d46954e8b. To fix this issue, it is recommended to deploy a patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche game audio library used in enthusiast and plugin contexts
Exploit
POC
Public exploit code exists
Data Quality
7 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
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.

Related Vulnerabilities in vgmstream Metadata Parsing Memory Safety Flaws

View all 2

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