Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted 32-bit float media (PFM/OpenEXR)
-
DeliveryVictim processes file through boxblur filter
-
Exploitquery_formats accepts >16-bit depth
-
Executionblur writes past 2-byte temp buffer
-
PersistHeap overflow crashes app or corrupts memory
-
ImpactPossible 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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).
Primary rating from Vendor (AISLE).
CVSS VectorVendor: AISLE
Lifecycle Timeline
2DescriptionCVE.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
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.
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.
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-137202
GHSA-523v-x426-g267
NVD
CVE.org
EPSS
Exploit-DB