Skip to main content

libvorbis CVE-2026-137079

| EUVDEUVD-2026-135767 MEDIUM
Numeric Range Comparison Without Minimum Check (CWE-839)
2026-11-25 VulnCheck GHSA-72cw-j4fw-c9xj
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted Ogg Vorbis file to victim
  2. Delivery
    Victim app opens file and uses lapped seek
  3. Exploit
    Two consecutive lapped seeks trigger _ov_getlap()
  4. Execution
    Negative sample count reaches memcpy()
  5. Impact
    Stack frames overwritten, application crashes

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires the target application to use libvorbis's lapped-seek functionality (the _ov_getlap() path reached via vorbis_synthesis_lapout()) and to perform two consecutive lapped seeks on an attacker-supplied, otherwise-valid Ogg Vorbis file whose block sizes are chosen to yield a negative sample count. Limiting factors: the attack vector is local (AV:L) with required passive user interaction (UI:P) - the victim must open/process the malicious file - and, critically, applications that decode Vorbis without using the lapped seek API never reach the vulnerable code, so the realistic exposed population is narrower than the raw install base of libvorbis. Affected versions are libvorbis through 1.3.7.

Impact

This is a genuine but comparatively low-urgency memory-safety flaw (CWE-839, numeric range comparison without a minimum check) rather than a high-CVSS/low-real-risk mislabel; the supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H) scores 6.9 (Medium) and its own signals point away from mass exploitation. The vector is LOCAL with passive user interaction (UI:P) and the dominant impact is availability (VA:H) - i.e. a crash/DoS - with no confidentiality impact (VC:N) and only low integrity impact (VI:L). The vendor/reporter signals are consistent with moderate priority: VulnCheck reported it, a patch is available, and the vuln.today Decision label is 'this_month' (not act_now/emergency). No EPSS score, no CISA KEV listing, and no PoC marked 'Publicly available (confirmed)' are present in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. One point to verify with the vendor: the description says attackers 'overwrite stack frames,' which hints at more than a plain crash, yet the impact metrics and description cap the outcome at a crash of applications performing two consecutive lapped seeks - treat code-execution claims as unverified. Net: a real issue worth patching on a normal cadence, not an emergency.

Exploit ScenarioDerived

An attacker crafts a short but valid Ogg Vorbis file with block sizes chosen so that vorbis_synthesis_lapout() returns a negative sample count, then gets a victim application (one that uses libvorbis lapped seeking) to open it and perform two consecutive lapped seeks, at which point _ov_getlap() passes the negative count to memcpy() and corrupts/crashes the process. Because the vector is local with passive user interaction (AV:L/UI:P), delivery relies on the victim processing the malicious file rather than a remote network trigger. No public exploit is identified at time of analysis; only the upstream patch diff is available.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

A stack buffer overflow in libvorbis through 1.3.7 lets an attacker-supplied, short but otherwise valid Ogg Vorbis file with crafted block sizes corrupt stack memory in applications that perform two consecutive lapped seeks, crashing the process and potentially altering control data. The flaw lives in _ov_getlap() in lib/vorbisfile.c, which passes a negative sample count from vorbis_synthesis_lapout() into a memcpy/memset pair whose size arithmetic is also mis-parenthesized; only code paths that exercise the lapped-seek API reach it, so ordinary Vorbis playback and decoding is not exposed. Rated Medium (CVSS 4.0: 6.9; local vector, unauthenticated but requiring the victim to open the crafted file), with no confirmed active exploitation (CISA KEV not listed) and no public exploit identified at time of analysis; upstream fixes are available as pull requests.

RemediationAI

Upstream fixes are available as pull/merge requests - https://github.com/xiph/vorbis/pull/136, https://github.com/xiph/vorbis/pull/139, and https://gitlab.xiph.org/xiph/vorbis/-/merge_requests/52 - but these are upstream fix references rather than an independently confirmed tagged release, so the patched version number could not be verified from the supplied data; track the upstream repository or your distribution's libvorbis package for the release that carries the corrected 'samples<=0' guard and the 'sizeof(**pcm)*(lapsize-lapcount)' parenthesization in lib/vorbisfile.c, and rebuild or reinstall any vendored copy you bundle. Because the bug is only reached through the lapped-seek path, actionable interim mitigations are narrow and depend on your application: if your software does not need crosslap/lapped seeking, avoid or disable the vorbisfile lapped-seek code path (for example by not calling ov_pcm_seek_lap/ov_time_seek_lap or the adjacent lapped seek helpers) and use plain seeking or full decode instead - the trade-off is loss of gapless, cross-lapped seeking behaviour for Vorbis streams. Where the feature is required, enforce a two-consecutive-lapped-seek limit, validate or re-encode untrusted Vorbis files with a library known to be patched before handing them to the vulnerable code path, and treat crash reports from two-seek sequences as potential exploitation attempts; restricting who can submit Vorbis files to trusted sources reduces the required user-interaction exposure but does not remove the flaw. Note that the vulnerability is local-vector and requires the victim to open the crafted file, so the primary complete fix is updating libvorbis.

Affected VersionsENISA

libvorbis 0 ≤1.3.7

Affected Packages

euvd libvorbis 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

libvorbis is Xiph.Org's reference Vorbis audio codec library, and the vulnerable routine sits in the high-level vorbisfile convenience API rather than the core codebook/DSP layer. CWE-839 (numeric range comparison without a minimum check) is the root cause class: _ov_getlap() guarded the sample count returned by vorbis_synthesis_lapout() with 'if(samples==0)' instead of testing for non-positive values, so a negative count flowed onward. A second defect compounded it - the clearing expression 'sizeof(pcm)*lapsize-lapcount' lacks parentheses, so the subtraction occurred on the scalar lapcount rather than on the product, producing a length that does not match the intended region when lapcount exceeds lapsize, and the corresponding memcpy of lapped PCM samples then writes past the intended stack region. Vorbis block sizes are attacker-influenceable through the identification header and long/short block flags, so a small file with suitable block sizes can make the lapped seek logic compute an invalid count and length. The fix recorded in the referenced pull request changes the guard to 'samples<=0' and corrects the parenthesization to 'sizeof(pcm)*(lapsize-lapcount)', closing both the negative-count path and the size-arithmetic mismatch. The trigger requires the specific sequence of two consecutive lapped seeks on the attacker file; the lapped-seek call sequence is what drives the second invocation into the faulty branch, and applications that decode Vorbis without ever calling the lapped-seek API cannot reach this code. The CPE cpe:2.3:a:xiph.org:libvorbis:*:*:*:*:*:*:*:* covers all libvorbis releases up to and including 1.3.7.

Know when Libvorbis 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 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.1 MEDIUM

Local file-parsing flaw needing a victim to open a crafted file (AV:L/UI:R), no privileges; primary impact is a crash (A:H) with limited integrity from stack overwrite (I:L) and no confidentiality loss.

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

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
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

libvorbis through 1.3.7 contains a stack buffer overflow vulnerability in _ov_getlap() in lib/vorbisfile.c that passes a negative sample count from vorbis_synthesis_lapout() to memcpy(). Attackers can supply a short, valid Ogg Vorbis file with suitable block sizes to overwrite stack frames and crash applications performing two consecutive lapped seeks.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
High
libvorbis is a very widely bundled audio decoder across media apps and games
Data Quality
3 sources
Confidence: Low

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
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.

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