Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInvoke FFmpeg to write Ogg output
-
ExploitInduce heap allocation failure during page buffering
-
ExecutionOut-of-bounds write past segment table (memset size (size_t)-1 / overflowing memcpy)
-
ImpactHeap corruption and muxer crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that FFmpeg (before 9.1) be used to mux or encode Ogg output, AND that a heap allocation fail inside ogg_buffer_page() at the point where a page is being buffered - the failure leaves a 'full page current', after which ogg_buffer_data() performs a memset of length (size_t)-1 or an overflowing memcpy past the segment table. Limiting factors: the vector is LOCAL (AV:L), it requires the Ogg output path specifically (not a default of every FFmpeg use), it depends on an allocation failure the attacker cannot directly control (AT:P, typically needing memory-exhaustion conditions), and it requires user/operator interaction to run the muxing (UI:P). These constraints make it chiefly a robustness/DoS concern rather than a reliable remote compromise. |
| Impact | The supplied CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P, base 7.3 High) and the vuln.today 'this_week' decision label both point to a moderate, non-emergency priority rather than a drop-everything issue. The signals are internally consistent on exploitability being constrained: the attack vector is LOCAL (AV:L), attack complexity is HIGH (AC:H), and a specific attack requirement is present (AT:P) - the flaw only manifests when a heap allocation fails inside ogg_buffer_page() during Ogg muxing, a condition the attacker cannot directly control. No EPSS score, no CISA KEV listing, and no confirmed public exploit were provided, so there is no evidence of active or at-scale exploitation; the references are the vendor PR and patch commits, not weaponized PoC code. One tension to flag: the vector rates impact as VC:H/VI:H/VA:H (full confidentiality/integrity/availability loss), yet the description characterizes the outcome as 'heap memory corruption and crashes' - i.e. primarily a denial-of-service/robustness failure, with code-execution being theoretical and unproven given that the overwrite (a memset of length (size_t)-1) is not meaningfully attacker-controlled. The high CVSS impact metrics should therefore be treated as an upper bound, not a confirmed RCE. Net: a genuine memory-safety defect in extremely widely deployed software, worth patching on a normal cycle, but the local vector plus allocation-failure precondition make real-world mass exploitation unlikely. |
| Exploit ScenarioDerived | An attacker who can cause a FFmpeg-based service to mux or transcode media into Ogg output could, while the process is under memory pressure, trigger the failed page-allocation path in ogg_buffer_page(), leaving a full page current and causing an out-of-bounds write past the segment table. The result is heap corruption and a crash of the muxer (denial of service). No public exploit is identified, the vector is local, and the triggering allocation failure is not directly attacker-controlled, which limits reliability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Heap memory corruption in FFmpeg's Ogg muxer (libavformat/oggenc.c) can crash the process or corrupt heap state when an internal page allocation fails while Ogg output is being written, affecting builds before 9.1. The vulnerable path is only reached when FFmpeg is actually muxing Ogg output and a heap allocation fails inside ogg_buffer_page(), after which ogg_buffer_data() can run a memset of length (size_t)-1 or an overflowing memcpy past the page's segment table. The supplied CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P, 7.3 High) and the independent CVSS 3.1 assessment (AV:L/AC:H/PR:N/UI:R/S:N/C:N/I:L/A:H) agree that this is primarily a local crash/denial-of-service and robustness issue rather than a reliable remote compromise; the vuln.today decision label is 'this_week', and no CISA KEV listing or public exploit code appears in the supplied intelligence.
RemediationAI
Upgrade to FFmpeg 9.1 or later, the release named by the advisory as the fixed version, or ensure the bundled libavformat in your application contains the upstream fix commits 6d40aa17395aaba80922441bcfb58399a88475e3 (which calls ogg_reset_cur_page() when buffering a page fails) and a659cd842b122e2f41973ac7c4e826426cc0d756; the advisory also links the n9.0.2 branch copy of libavformat/oggenc.c, which may indicate a backport to that branch, but a 9.0.2 fix is not independently confirmed, so verify the patch is present in the source you ship rather than relying on the branch name alone. Distributors should track their own FFmpeg security update rather than assuming a version string is sufficient, and vendored copies inside media servers, transcoding services and desktop applications need separate confirmation. Where an immediate upgrade is not possible, reduce exposure by avoiding Ogg muxing in memory-constrained or untrusted-triggered transcode pipelines and by provisioning enough memory headroom for Ogg output jobs, since the write is only reached after an allocation failure inside ogg_buffer_page(); run such transcodes in disposable or isolated worker processes so that a heap-corruption crash does not take down a shared service, accepting that these measures lower the chance of hitting the trigger but do not remove the underlying out-of-bounds write. No KEV listing or public exploit code is noted in the supplied data, so the change can follow the 'this_week' priority, but it should be scheduled rather than deferred; monitoring guidance is available from the VulnCheck advisory at https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c.
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
FFmpeg's Ogg muxer in libavformat/oggenc.c assembles encoded packets into Ogg pages; ogg_buffer_page() buffers a completed page and ogg_buffer_data() appends packet data to the current page, maintaining the page's segment table (the lacing values that describe how packet bytes are split across 255-byte segments). The defect is CWE-787, an out-of-bounds write: when an allocation inside ogg_buffer_page() fails, the code leaves the failed page as the 'current' full page instead of resetting it, so subsequent work in ogg_buffer_data() performs a memset whose length can evaluate to (size_t)-1, or an overflowing memcpy, and writes past the end of the segment table, corrupting heap memory. The referenced upstream commit 6d40aa1 adds an ogg_reset_cur_page(oggstream) call on the allocation-failure branch, and a second commit a659cd8 is also cited as part of the fix; the advisory describes the flaw as present in FFmpeg before 9.1, while the CPE entry cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* identifies the product without version granularity. Reachability depends on FFmpeg being used to write Ogg output and on an allocation failure the attacker cannot directly control (reflected in the assessed AT:P and AC:H metrics), and the assessed vector is unauthenticated but local (PR:N, AV:L) with passive user interaction (UI:P). Practically the observed effect is a crash or heap corruption in the muxing process, consistent with the assessed impact of no confidentiality loss, limited integrity impact and high availability impact; the trigger conditions beyond the failed allocation are not described in the available sources.
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:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local Ogg-muxing path triggered only on an uncontrolled allocation failure (AV:L/AC:H) and requiring the operator to run encoding (UI:R); impact is mainly crash (A:H) with limited heap corruption (I:L) and no read-based disclosure (C:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg before 9.1 contains an out-of-bounds write vulnerability in ogg_buffer_data() in libavformat/oggenc.c because ogg_buffer_page() leaves a full page current after failed allocation. When page allocation fails, a memset with length (size_t)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.
Executive ViewAI
A heap memory corruption vulnerability in FFmpeg's Ogg muxer (CVE-2026-135709) can cause application crashes or heap instability when Ogg output is being generated and a memory allocation fails, affecting organizations that process untrusted media or rely on FFmpeg for media workflows. The issue is currently assessed as a local denial-of-service risk rather than a reliable remote compromise vector, but any disruption to media pipelines or user-facing applications that depend on FFmpeg could impact operational continuity.
Apply vendor patch.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Related Vulnerabilities in FFmpeg libavformat Memory and Input Validation Flaws
View all 9FFmpeg 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-133640
GHSA-8q7x-399m-x4rm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB