Skip to main content

FFmpeg CVE-2026-137907

| EUVDEUVD-2026-137202 HIGH
Out-of-bounds Write (CWE-787)
2026-11-27 AISLE GHSA-523v-x426-g267
8.5
CVSS 4.0 · Vendor: AISLE
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted 32-bit float media (PFM/OpenEXR)
  2. Delivery
    Victim processes file through boxblur filter
  3. Exploit
    query_formats accepts >16-bit depth
  4. Execution
    blur writes past 2-byte temp buffer
  5. Persist
    Heap overflow crashes app or corrupts memory
  6. Impact
    Possible arbitrary code execution

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 two concrete conditions: (1) the FFmpeg boxblur filter (libavfilter/vf_boxblur.c) must be invoked in the processing pipeline - it is not applied by default, so only filtergraphs that explicitly use boxblur are affected; and (2) the input media must use a pixel format with component depth greater than 16 bits, specifically 32-bit float formats such as PFM or OpenEXR images, which the pre-fix query_formats() wrongly accepted while blur temporary buffers hold only 2 bytes per pixel. The vector is LOCAL/file-based and requires the victim to process the crafted file (UI:P), so it is not remotely exploitable against a listening service. These two gating factors - non-default filter usage plus a deep float pixel format - substantially narrow real-world exposure despite FFmpeg's ubiquity. Affected: FFmpeg 3.0 through versions before 8.1.3; fixed in 8.1.3.

Impact

Signals are mixed and point to a moderate, conditional priority rather than an emergency. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, score 8.5) and my own reading agree the attack is LOCAL and file-driven, requiring a victim to process attacker-supplied media - not a remote network exploit, so the high base score reflects impact severity (heap write, CWE-787, possible code execution) rather than ease of mass exploitation. No EPSS score is supplied and the CVE is NOT in CISA KEV, so there is no evidence of active or widespread exploitation. There is no working exploit in the input - the only 'exploit-like' artifacts are the upstream fix PR and commit, which are patch references, not weaponized PoC code. The vuln.today decision label is 'this_week' (not act_now/emergency). The most important risk-limiting factor is not captured by CVSS at all: exploitation requires the boxblur filter to be explicitly present in the FFmpeg filtergraph AND the input to carry a pixel format deeper than 16 bits (e.g. 32-bit float PFM/OpenEXR); boxblur is not applied by default, so only pipelines that invoke it are exposed. Net: a genuinely severe memory-corruption bug in ubiquitous software, but real-world risk is gated by a specific non-default filter configuration, making this an important-patch-this-cycle item rather than a drop-everything event.

Exploit ScenarioDerived

An attacker crafts a 32-bit float image or video (such as a PFM or OpenEXR file) and gets it processed by an application or pipeline that runs FFmpeg's boxblur filter. Because query_formats() accepted >16-bit-deep formats while the blur temporary buffers allocate only 2 bytes per pixel, the per-pixel copy overruns the heap buffer, crashing the application or potentially corrupting adjacent heap memory toward code execution. No public working exploit is identified; the only published artifacts are the upstream fix commit and pull request.

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 27, 2026

Heap buffer overflow in FFmpeg's boxblur filter (libavfilter/vf_boxblur.c) lets crafted 32-bit float media - such as PFM or OpenEXR images - corrupt heap memory when the filter is applied, crashing the processing application with a credible path to code execution. FFmpeg 3.0 through versions before 8.1.3 are affected; the vendor fix lands in 8.1.3 and in commit 0dac41d2e5e0f4251ed89eedb03a847d5d59ef67. Exposure is conditional and local: the boxblur filter is not applied by default (only filtergraphs that explicitly call it are affected) and the input must use a pixel format deeper than 16 bits, while exploitation requires the victim to open or process the malicious file (CVSS 4.0 UI:P, AV:L); no public exploit was identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

Upgrade to FFmpeg 8.1.3, which constrains query_formats() to component depths of 16 bits or less, branches blur() explicitly on a 2-byte pixel size, and adds an av_assert0(0) guard so an unexpected sample width aborts instead of writing past the temporary buffers; the equivalent change is upstream commit 0dac41d2e5e0f4251ed89eedb03a847d5d59ef67 and pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23658. Where an immediate rebuild is not possible, the exposure can be removed rather than merely reduced by keeping boxblur out of filtergraphs that touch untrusted media and by refusing or pre-converting 32-bit float inputs such as PFM and OpenEXR to 8- or 16-bit pixel formats before they reach the filter - the trade-off is loss of float precision and, if boxblur is dropped entirely, loss of the blur effect. Because the vector is local and requires the victim to process the crafted file (UI:P / UI:R), preventing untrusted media from being opened in pipelines that use boxblur removes the practical attack path until the upgrade is applied.

Affected VersionsENISA

FFmpeg 3.0 <8.1.3

Affected Packages

euvd ffmpeg fix: 8.1.3

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 flaw is an out-of-bounds write (CWE-787) rooted in a pixel-format negotiation mismatch. vf_boxblur.c allocates temporary blur buffers sized for a maximum of 2 bytes per pixel and its internal blur() helper selects between blur8 and blur16 based on pixel size, assuming nothing wider than 16 bits per component ever reaches it. However, query_formats() did not constrain desc->comp[0].depth, so it advertised and accepted formats with component depth greater than 16 bits - notably 32-bit float formats used by PFM and OpenEXR image decoding. When such a frame passes through boxblur, the buffer arithmetic derived from the narrower 2-byte-per-pixel assumption no longer matches the actual sample width, and writes run past the end of the temporary heap buffers. The upstream fix (commit 0dac41d2e5e0f4251ed89eedb03a847d5d59ef67, PR 23658) adds a desc->comp[0].depth <= 16 condition to query_formats(), branches blur() explicitly on pixsize == 2 for the 16-bit path, and adds av_assert0(0) as a backstop so an unexpected pixel size aborts rather than writing out of bounds. The affected line in the vulnerable n8.1.2 source is documented at vf_boxblur.c#L166. Note that the CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) and the internally assessed CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) both describe a local, file-driven attack that requires user interaction; the trigger requires the boxblur filter to be present in the filtergraph and a deep float pixel format in the input.

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 (AISLE) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

File must be opened/processed locally by the victim (AV:L, UI:R) with no auth (PR:N); heap out-of-bounds write yields crash (A:H) and possible code execution (C:H/I:H).

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

Primary rating from Vendor (AISLE).

CVSS VectorVendor: AISLE

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
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

Lifecycle Timeline

2
Patch available
Nov 27, 2026 - 14:01 EUVD
CVE Published
Nov 27, 2026 - 12:15 cve.org
HIGH 8.5

DescriptionCVE.org

FFmpeg 3.0 before 8.1.3 contains a heap buffer overflow vulnerability in libavfilter/vf_boxblur.c because query_formats() accepts pixel formats deeper than 16 bits while the blur temporary buffers hold only 2 bytes per pixel. Attackers can supply crafted 32-bit float media, such as PFM or OpenEXR images, that when processed by the boxblur filter overflow the temporary buffers, crashing applications or possibly executing code.

Executive ViewAI

Why It Matters

A heap buffer overflow in FFmpeg's boxblur filter affects versions 3.0 through 8.1.2, allowing crafted media files to crash or potentially execute code when processed with the filter. Only systems that explicitly invoke the boxblur filter and handle deep pixel formats (e.g., PFM, OpenEXR) are at risk, and exploitation requires a user to open a malicious file. Leadership should prioritize patching media processing pipelines that use this filter, as the vulnerability could disrupt operations or lead to compromise.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded across countless media pipelines, apps, and servers worldwide
Data Quality
4 sources
Confidence: Medium

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

Priority Score

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

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