Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted audio with NaN float samples
-
DeliveryVictim transcodes via native Vorbis encoder
-
ExploitCodebook entry left at -1 reaches put_vector()
-
ExecutionOut-of-bounds heap read before array
-
ImpactCrash encoder or leak adjacent heap into output
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to encode attacker-controlled audio using FFmpeg's NATIVE Vorbis encoder (libavcodec/vorbisenc.c), not the more commonly used external libvorbis path, and the input must carry NaN float samples so the codebook entry is left at -1. Limiting factors: the vector is local (AV:L) and needs the victim/pipeline to actually run the encode step on the malicious file (UI:P), the native Vorbis encoder is FFmpeg's experimental encoder and is infrequently chosen over libvorbis, and the confidentiality impact is bounded to a small adjacent-heap over-read (VC:L) with the crash (VA:H) being the more reliable outcome. No authentication is implied to supply the file, but the attack does not reach any network-facing component on its own. |
| Impact | This is a medium-severity issue (vendor CVSS 4.0 base 5.8) whose real-world priority is moderate, not urgent. The provided CVSS 4.0 vector is local (AV:L) with high complexity and an attack requirement (AC:H/AT:P) and passive user interaction (UI:P), meaning a victim or pipeline must actually encode attacker-supplied audio before the flaw triggers - this is not a remotely reachable service bug. Impact is skewed toward availability (VA:H, a crash) with only low confidentiality exposure (VC:L, small adjacent-heap over-read leaked into output) and no integrity impact. No EPSS score, no CISA KEV listing, and no confirmed working exploit were supplied; the only references are the fixing commit, the pull request, and the vendor advisory, so there is no public exploit code at time of analysis. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with the modest, interaction-and-local-dependent profile. Net: a genuine but non-emergency fix for most operators - real risk concentrates only where FFmpeg's native Vorbis encoder is fed untrusted audio. |
| Exploit ScenarioDerived | An attacker provides a crafted audio input containing NaN float samples to a service or user that transcodes it through FFmpeg's native Vorbis encoder. During floor encoding the codebook entry stays at -1, so put_vector() reads before the intended heap array, crashing the process or emitting a small slice of adjacent heap memory into the encoded output. No confirmed working exploit code was supplied - only the fixing commit and vendor advisory are referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
FFmpeg's native Vorbis encoder can perform an out-of-bounds read when encoding audio that contains NaN float samples, causing a crash or limited disclosure of adjacent heap memory in FFmpeg before 8.1.3 and 9.x before 9.0.2. The issue is medium-severity, with the vendor CVSS 4.0 base score at 5.8, and requires the target to run FFmpeg's experimental native Vorbis encoder on attacker-supplied audio, a local and user-interaction-dependent path rather than a network-facing service; no public exploit identified at time of analysis. The more reliable outcome is denial of service via crash, while confidentiality impact is bounded to a small over-read.
RemediationAI
Vendor-released patch: upgrade to FFmpeg 8.1.3 or 9.0.2, which contain commit e33548ad13fd3495466a651792e8206b1c6f7fd7 (PR 24392); see https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-in-vorbis-encoder and https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392. If upgrading immediately is not possible, avoid feeding untrusted audio to FFmpeg's native Vorbis encoder and use the external libvorbis encoder instead where feasible, accepting that encoder behavior and output may differ and that this substitution only bypasses this code path. Because exploitation requires a local and user-interaction-dependent encode step on NaN-containing audio, restricting which users or pipelines can submit files to native-Vorbis transcoding reduces exposure until the patched release is deployed.
Affected VersionsENISA
Affected Packages
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
The vulnerability is a CWE-125 out-of-bounds read in libavcodec/vorbisenc.c, FFmpeg's native (non-libvorbis) Vorbis encoder. In the floor_encode() code that feeds put_vector(), the codebook lookup variable entry is initialized to -1; when NaN float samples prevent a normal codebook match, entry remains -1 and is subsequently used to index codebook arrays, producing reads before the intended heap buffer and potentially leaking adjacent memory into encoder output. The upstream fix in commit e33548ad13fd3495466a651792e8206b1c6f7fd7 changes the initialization to entry = 0; the affected code is linked at https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c#L915 and the change was proposed in PR 24392. This is distinct from the external libvorbis encoder path; the native encoder is FFmpeg's experimental Vorbis implementation, which limits practical exposure.
Know when Ffmpeg 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
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Victim must encode attacker-supplied audio locally (AV:L, UI:R); NaN input deterministically forces the over-read (AC:L, PR:N), leaking a little heap (C:L) and crashing the encoder (A:H).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds read vulnerability in put_vector() in libavcodec/vorbisenc.c when NaN samples leave the codebook entry at -1. Attackers can supply audio with NaN float samples to the native Vorbis encoder, causing heap reads before arrays that crash the application or leak adjacent heap memory into output.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120178
GHSA-fcxc-3rc8-vgxj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB