Skip to main content

FFmpeg CVE-2026-135709

| EUVDEUVD-2026-133640 HIGH
Out-of-bounds Write (CWE-787)
2026-11-24 VulnCheck GHSA-8q7x-399m-x4rm
7.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Invoke FFmpeg to write Ogg output
  2. Exploit
    Induce heap allocation failure during page buffering
  3. Execution
    Out-of-bounds write past segment table (memset size (size_t)-1 / overflowing memcpy)
  4. Impact
    Heap 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.

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

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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

Vendor (VulnCheck) PRIMARY 7.3 HIGH
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
vuln.today AI 5.3 MEDIUM

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).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
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

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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg is a core multimedia library embedded in countless applications and services
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Low
Technical Impact
Total

Priority Score

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

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.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

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

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

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

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

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