Skip to main content

FFmpeg EUVDEUVD-2026-120280

| CVE-2026-125191 MEDIUM
Improper Update of Reference Count (CWE-911)
2026-11-09 disclosure@vulncheck.com GHSA-rq22-g63f-454x
5.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted H.264/HEVC/VP9 stream with resolution change
  2. Exploit
    Victim decodes via FFmpeg V4L2 m2m decoder
  3. Execution
    Reference count leak on multi-plane capture reinit
  4. Impact
    ff_v4l2_m2m_codec_reinit waits forever, application deadlocks

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires an FFmpeg build that uses the V4L2 mem2mem (v4l2_m2m) hardware-accelerated decoder with multi-plane capture formats - a Linux-specific, typically embedded/ARM deployment, not the default software-decode path on most desktop or server installs. The victim application must then be fed an attacker-supplied H.264, HEVC, or VP9 stream that contains a mid-stream resolution change, which is the passive user interaction (UI:P) that triggers ff_v4l2_m2m_codec_reinit(). Limiting factors: the attack is local (AV:L), high complexity (AC:H) with a present attack requirement (AT:P), and depends on the non-default V4L2 m2m hardware-decode configuration; the only impact is a hang/denial of service with no confidentiality or integrity effect.

Impact

All provided signals converge on a low-to-moderate, availability-only issue. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P, VC:N/VI:N/VA:H) describes a local attack of high complexity with a present attack requirement and passive user interaction, impacting only availability - a decoder hang/deadlock, not code execution or data exposure. The base score of 5.7 (medium) is consistent with that. No EPSS score, no CISA KEV listing, and no public exploit were provided, and the vuln.today decision label is 'this_month' (not act_now/emergency), so this is a patch-in-routine issue rather than an urgent priority. A notable conflict exists: the input Tags label this 'Information Disclosure,' but the CVSS vector sets VC:N (no confidentiality impact) and VA:H, and the description describes a deadlock/hang - this is a denial-of-service defect, so the tag is mislabeled and should not drive triage. Realistic risk is further limited because the vulnerable code path is FFmpeg's V4L2 mem2mem (hardware-accelerated) decoder on multi-plane capture formats, a Linux-specific configuration not exercised by most desktop/server software decoding.

Exploit ScenarioDerived

An attacker crafts an H.264, HEVC, or VP9 stream that contains mid-stream resolution changes and gets a victim application to decode it through FFmpeg's V4L2 mem2mem hardware decoder. The reference-count leak in v4l2_buffers.c causes ff_v4l2_m2m_codec_reinit() to wait forever during the format change, hanging the decoding application (denial of service). No public exploit code was identified at time of analysis; a fix commit is available.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Decoding can hang indefinitely in FFmpeg through 9.0.2 when the Linux V4L2 mem2mem hardware decoder handles multi-plane capture formats, caused by a reference-count leak in libavcodec/v4l2_buffers.c. An attacker-supplied H.264, HEVC, or VP9 stream containing a mid-stream resolution change makes ff_v4l2_m2m_codec_reinit() wait forever, denying availability to the decoding application. This is a local, high-complexity, availability-only issue that requires a non-default V4L2 m2m hardware-decode build; no public exploit identified at time of analysis.

RemediationAI

Apply the upstream fix in commit 4d2d58efa9b9f3802893b1db0ea1edfbe1cc66ef (FFmpeg pull request 25682) or upgrade to a release that contains it; the evidence does not identify a released patched version beyond the upstream commit, so patched release availability is not independently confirmed. For deployments that cannot immediately apply the fix, avoid using the V4L2 mem2mem hardware decoder for untrusted H.264, HEVC, or VP9 streams and fall back to software decoding; the trade-off is higher CPU usage and loss of hardware acceleration, which can matter on embedded or ARM systems. Because exploitation requires the non-default V4L2 m2m multi-plane capture path fed with a crafted resolution-change stream, limiting untrusted media from that decoder path reduces exposure until the fix is deployed. Relevant references include https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25682, https://github.com/FFmpeg/FFmpeg/commit/4d2d58efa9b9f3802893b1db0ea1edfbe1cc66ef, and https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-v4l2-m2m-decoder-deadlock-via-reference-count-leak.

Affected VersionsENISA

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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 improper reference count update (CWE-911) in FFmpeg's V4L2 memory-to-memory hardware decode integration. V4L2 m2m hands compressed frames to a Linux kernel driver and returns decoded frames through multi-plane capture buffers; FFmpeg tracks buffer references in v4l2_buf_increase_ref() in libavcodec/v4l2_buffers.c. On affected versions through 9.0.2, a reference is leaked during handling of multi-plane capture formats, so when a crafted H.264, HEVC, or VP9 stream changes resolution mid-stream and invokes ff_v4l2_m2m_codec_reinit(), reinitialization waits forever for the outstanding reference and the decode thread deadlocks. This path is Linux-specific and typically used for embedded or ARM hardware decode, not the default software decoder; the assessed vector is local, high complexity, with a present attack requirement and passive user interaction, and impact is limited to availability with no confidentiality or integrity effect.

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 5.7 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 4.7 MEDIUM

V4L2 m2m hardware-decode path is local and conditional (AV:L, AC:H); victim must decode a crafted stream (UI:R); no privileges needed (PR:N); deadlock yields availability-only impact (A:H, C/I:N).

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 4.7 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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg through 9.0.2 contains a reference count leak in libavcodec/v4l2_buffers.c that allows attackers to deadlock the V4L2 mem2mem decoder on multi-plane capture formats. Attackers can supply crafted H.264, HEVC, or VP9 streams with resolution changes, making ff_v4l2_m2m_codec_reinit() wait forever and hang the decoding application.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
FFmpeg ubiquitous, but V4L2 m2m hardware-decode path is Linux-embedded niche
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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