Description
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.
Published: 2026-11-09
Score: 5.7 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service (application hang)
Action: Apply Patch
AI Analysis

Impact

A reference count leak in FFmpeg 9.0.2's V4L2 mem2mem decoder can cause a deadlock when processing crafted H.264, HEVC, or VP9 streams with resolution changes. The leak triggers an endless wait in ff_v4l2_m2m_codec_reinit(), leading the decoding application to hang and deny service. The weakness identified by CWE-911 is a resource exhaustion flaw that escalates to a system impact.

Affected Systems

The vulnerability affects FFmpeg versions up to and including 9.0.2. Any installation that uses the V4L2 mem2mem decoder component for multi-plane capture formats is potentially impacted. The affected code resides in libavcodec/v4l2_buffers.c within the FFmpeg project.

Risk and Exploitability

The CVSS score of 5.7 indicates moderate severity. Since EPSS data is not available, the exploitation probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the defect by providing malicious video streams, making it feasible to poison a system that relies on V4L2 decoding. A successful exploit would result in an application hang, potentially allowing attackers to disrupt service continuity but not granting broader system compromise.

Generated by OpenCVE AI on November 9, 2026 at 22:10 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update FFmpeg to version 9.0.3 or later to include the fixed reference count handling in v4l2_buffers.c.
  • Validate that the patch applied contains the commit 4d2d58e… which removes the unreleased reference count path.
  • If updating is not immediately possible, restrict the decoding pipeline to avoid multi-plane capture formats or disable the V4L2 mem2mem decoder for untrusted streams.

Generated by OpenCVE AI on November 9, 2026 at 22:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
Description 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.
Title FFmpeg through 9.0.2 V4L2 M2M Decoder Deadlock via Reference Count Leak
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-911
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 5.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T21:06:57.097Z

Reserved: 2026-11-09T18:15:09.010Z

Link: CVE-2026-125191

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:16:54.923

Modified: 2026-11-09T22:18:43.787

Link: CVE-2026-125191

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T23:00:10Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count