Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-125191 — FFmpeg

Medium · CVSS 5.7EPSS 0.2% First seen November 09, 2026

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg through 9.0.2: reference count leak in V4L2 mem2mem decoder enables decoder hang (CVE-2026-125191)

CVECVE-2026-125191
Vendor and productFFmpeg
PublishedNovember 12, 2026 07:20 UTC
Research cut-offNovember 12, 2026 07:12 UTC
UpdatedNovember 25, 2026 19:50 UTC
Sources reviewed3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10)

Update — November 25, 2026

Updates come from the CVE's records (NVD, CISA, GitHub, FIRST) as they change, newest first. The article below is as it was published on November 12, 2026.

Executive summary

CVE-2026-125191 describes a reference count leak in FFmpeg's V4L2 mem2mem decoder code that can leave the decoder waiting indefinitely during a resolution change, hanging the decoding application [1]. The NVD record is Awaiting Analysis, and the only published scores are secondary scores from VulnCheck: CVSS 4.0 5.7 MEDIUM with 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X, and CVSS 3.1 4.7 MEDIUM with vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H [1]. The CVE record states that FFmpeg versions through 9.0.2 are affected, with no lower bound and no fixed version published [1]. Exploitation requires a crafted H.264, HEVC or VP9 stream that triggers a resolution change in a decoding application that uses the V4L2 path [1]. CISA's Known Exploited Vulnerabilities catalog does not list the CVE as of 2026-11-12, which does not show that it has not been exploited [2]. The FIRST EPSS estimate is 0.0015 (0.15%) with a percentile of 0.0470 [3]. The most important immediate action is to inventory FFmpeg builds at or below 9.0.2 that use V4L2 mem2mem decoding on untrusted input, and to contain those decoding processes with a timeout and restart policy until a vendor-confirmed fix is identified [1].

Key points

  • CVE-2026-125191 is a reference count leak (CWE-911) in FFmpeg's V4L2 mem2mem decoder path that can cause a decoding hang on resolution changes [1].
  • Secondary CVSS scores are 5.7 MEDIUM (CVSS 4.0) and 4.7 MEDIUM (CVSS 3.1), both from VulnCheck, and the record is Awaiting Analysis [1].
  • The CVE record publishes only an upper bound: FFmpeg through 9.0.2 is affected, and no fixed version is published in the pack [1].
  • The CVE is not in the CISA KEV catalog as of 2026-11-12, which does not show absence of exploitation [2].
  • EPSS is 0.0015 (0.15%), a statistical estimate and not evidence of exploitation [3].
  • Immediate action is to inventory FFmpeg builds in range, identify use of the V4L2 path on untrusted input, and contain decode workers with timeouts and restarts [1].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-125191[1]
VendorFFmpeg project (vendor identified in the CVE record as the CVE Numbering Authority entry for FFmpeg)[1]
ProductFFmpeg[1]
Componentlibavcodec V4L2 buffer handling, file named libavcodec/v4l2buffers.c in the record description; the commit reference path uses libavcodec/v4l2_buffers.c, a naming discrepancy noted below[1]
Affected platformLinux systems using the V4L2 mem2mem hardware decoder path (inferred from the V4L2 component name in the record; the platform is not stated as such in the sources)[1]
Published2026-11-09T19:16:54[1]
Last modified2026-11-10T21:46:36[1]
Record statusAwaiting Analysis[1]
CWECWE-911, Improper Update of Reference Count[1]
CVSS 4.05.7 MEDIUM, 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X, scored by disclosure@vulncheck.com as Secondary[1]
CVSS 3.14.7 MEDIUM, vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H, scored by disclosure@vulncheck.com as Secondary[1]
CVSS scores from NVD as primary analysisNot established by the reviewed sources (the record is Awaiting Analysis)[1]
Related CVEsNot established by the reviewed sources[1]
Vendor advisory or patch identifierNot established by the reviewed sources[1]
KEV statusNot listed as of 2026-11-12[2]
EPSS0.0015 (0.15%), percentile 0.0470, dated 2026-11-10[3]

The record lists five references, including a FFmpeg code review request, a FFmpeg repository page, a tagged source line in the n9.0.2 release, a commit, and a VulnCheck advisory. None of the references carries an NVD tag [1]. The references are not reviewed in this pack beyond their listing, so their content is not established by the reviewed sources.

Discrepancies: the two CVSS scores come from the same secondary scorer but differ in version and in user interaction (UI:P in 4.0, UI:R in 3.1) and in attack requirements (AT:P has no 3.1 equivalent) [1]. The record description names libavcodec/v4l2buffers.c, while a reference path names libavcodec/v4l2_buffers.c [1]. Neither difference changes the scope of the analysis, but the file name should be checked against the vendor source before a patch is matched to this CVE.

Technical background

FFmpeg is an open-source multimedia framework whose libavcodec library decodes and encodes audio and video streams [1]. Video4Linux2 (V4L2) is the Linux kernel interface for video capture and codec hardware. A mem2mem (memory-to-memory) device takes compressed input and produces decoded frames through buffer queues that the application manages. The record describes the FFmpeg code path as a V4L2 mem2mem decoder that handles multi-plane capture formats, meaning the decoded picture is split across several memory planes [1].

In normal operation, when a stream changes resolution mid-stream, the decoder must release buffers allocated for the old resolution and allocate buffers for the new one. The record names the function ffv4l2m2mcodecreinit as the routine that performs this reinitialization and the function that the flaw causes to wait indefinitely [1]. Reference counting is the bookkeeping technique that tracks how many users hold a buffer, so the buffer is freed only when the count reaches zero. The trust boundary relevant here lies between the untrusted compressed bitstream supplied to the decoder and the decoder's internal buffer state. The bitstream is attacker-controllable in the threat model the record describes [1].

Vulnerability description

The record describes a reference count leak in the FFmpeg V4L2 buffer code that can cause the V4L2 mem2mem decoder to deadlock on multi-plane capture formats [1]. A deadlock here means the decoding thread waits on a condition that never becomes true, so the decode call does not return. The record states the effect as the decoding application hanging [1].

Security property affected: availability. The record describes a hang and does not describe memory disclosure, memory corruption, code execution, privilege change or data modification [1]. Those effects are therefore not established by the reviewed sources and should not be assumed from the CWE alone.

What an attacker can cause: a denial of service of the decoding process, by providing a crafted stream that includes a resolution change for H.264, HEVC or VP9 input [1]. The record does not describe a way to reach the process beyond supplying the media stream.

Conditions that must exist: the application must decode through the affected V4L2 mem2mem path, the input must be one of the listed codecs, and the stream must trigger a resolution change that calls the reinitialization routine [1]. Whether a given application or distribution build uses this path is Unknown from the pack.

Not established by the reviewed sources: whether the hang can be triggered repeatedly, whether it affects other threads or processes, whether the leaked reference count can be used for any other purpose, and whether the hang can be avoided by tuning decoder parameters.

Root cause analysis

Confirmed: the CVE record classifies the weakness as CWE-911, Improper Update of Reference Count [1]. The record also attributes the flaw to a reference count leak in the file named in the description [1].

Analyst assessment: a reference count leak means that an increment on a reference count is not matched by a decrement on some code path, most often an error or reinitialization path. In this case the reinitialization path during a resolution change would be the likely location, because the record ties the leak to that routine and to a wait condition [1]. A leaked count would keep a buffer marked as in use, so a wait for buffers to become free never completes. This explains the deadlock, but the exact missing decrement and the line of code are not disclosed in the pack.

Why existing controls may fail: the wait in the reinitialization routine appears to lack a bound or an alternative exit path when a buffer is never released [1]. This is also an analyst assessment and is not confirmed by a source.

Not established by the reviewed sources: the exact code change, the commit content, the maintainer's own root cause statement, and whether the same pattern exists in other V4L2 paths.

Technical mechanics

The following flow is Illustrative, based on the record description and the CWE classification. It is not a confirmed trace of the vulnerable code.

  1. The application opens a compressed H.264, HEVC or VP9 stream and passes packets to FFmpeg's decoder through the V4L2 mem2mem path [1].
  2. The decoder allocates capture buffers for the initial resolution. Each buffer's reference count tracks its use by the decoder and the application [S1, analyst assessment].
  3. The stream reaches a resolution change. The decoder calls the reinitialization routine, which the record names as ffv4l2m2mcodecreinit [1].
  4. During reinitialization, the decoder must release old buffers. In the flaw, a reference count is not decremented on a path, so at least one buffer remains marked as in use [S1, CWE-911, analyst assessment].
  5. The reinitialization routine waits for buffers to become available. Because the count never reaches the release condition, the wait does not return [S1, analyst assessment].
  6. The decoding thread is blocked, and the application's decode call does not complete, so the application hangs [1].

The control that should prevent this is correct pairing of increments and decrements on every exit path, and a bounded or failure-aware wait during reinitialization [analyst assessment]. The record does not state whether either control is missing in the way described.

Preconditions: the V4L2 mem2mem decoder path must be in use, the input must be an affected codec, and a resolution change must occur [1].

Attack surface and exploitation prerequisites

PrerequisiteAssessmentSource
Network accessNot stated as a direct network service. The record describes supplying crafted streams, so the attack path depends on how the application receives media.[1]
Adjacent networkNot established by the reviewed sources[1]
Local accessThe CVSS 4.0 and 3.1 vectors both use AV:L, meaning local attack vector in the scoring model[1]
Physical accessNot established by the reviewed sources[1]
AuthenticationPR:N in both vectors, meaning no privileges required under the scoring model[1]
User interactionCVSS 4.0 has UI:P (passive user interaction); CVSS 3.1 has UI:R (user interaction required). The scorers differ, and the actual interaction needed depends on the application (for example, whether a user must open a file)[1]
Attack requirementsCVSS 4.0 has AT:P, meaning attack requirements are present, and the record does not describe them in detail[1]
Required configurationThe V4L2 mem2mem decoder path must be used. Whether a default build or distribution package selects it is Not established by the reviewed sources[1]
InputH.264, HEVC or VP9 stream with a resolution change[1]
Attacker positionAny party able to supply a media stream to the decoding application, as the record implies[S1, analyst assessment]

The CVSS vector alone does not establish exploitability. The vector indicates a local attack vector and high availability impact [1], but it does not show that a particular deployment exposes the decoder to untrusted input. The reviewed sources do not describe a reachable service or a default configuration.

Exploitation scenarios and attack lifecycle

All scenarios below are Illustrative. The pack does not document any exploitation chain [1, 2, 3].

Scenario A (Illustrative): a media-processing service transcodes user-uploaded videos on a Linux host using FFmpeg's V4L2 decoder. An external party uploads a crafted video that changes resolution, and the transcoding worker hangs. Repeated uploads could exhaust worker capacity. Defensive opportunities: enforce per-job timeouts, run workers in isolated containers with restart policies, and monitor job duration.

Scenario B (Illustrative): a desktop application or embedded device opens a file from an untrusted source, and the decode hangs until the user force-quits the application. The impact is limited to availability of that process. Defensive opportunities: decode untrusted media in a sandboxed helper process and alert on processes that stop responding.

Attack lifecycle note: the sources do not document initial access, persistence, lateral movement or data loss for this CVE [1, 2]. The reviewed sources describe only a hang of the decoding application. Any claim of wider post-exploitation is not established by the reviewed sources.

Impact analysis

AreaTechnically demonstrated by sourcesPlausible downstream consequence (analyst assessment)
ConfidentialityNone described [1]None expected from the described hang alone
IntegrityNone described [1]None expected from the described hang alone
AvailabilityDecoding application hang caused by a deadlock [1]. The CVSS 4.0 vector shows high availability impact on the vulnerable system (VA:H) and no impact on subsequent systems (SA:N) [1]Service outage of workers that decode untrusted media, and delayed processing queues
Authentication and authorizationNone described; PR:N in the scoring vectors [1]Not established by the reviewed sources
Privilege boundariesNone described [1]Not established by the reviewed sources
Data and privacyNone described [1]Not established by the reviewed sources
Business operationsNot established by the reviewed sourcesInterruption of media processing pipelines where the hang occurs
Regulatory or contractualNot established by the reviewed sourcesDepends on service-level commitments; not assessed here

Affected products and versions

VendorProduct or componentAffected versionsFixed versionSource and qualification
FFmpeglibavcodec V4L2 mem2mem decoder pathThrough 9.0.2 (upper bound stated; no lower bound published)Not established by the reviewed sources[1], CVE record affected range published by the CNA

Notes: the record gives only an upper bound of 9.0.2 [1]. A complete affected range, including the earliest affected release, is not published in the pack. Whether distribution packages that backport fixes are affected is Not established by the reviewed sources. The CPE configuration list that NVD normally publishes is not included in the reviewed pack, so the affected CPE set cannot be checked here.

Exploitation and threat intelligence status

Confirmed exploitation in the wild: not established by the reviewed sources. The CVE is not listed in the CISA KEV catalog as of 2026-11-12 [2]. The catalog absence is not evidence that exploitation has not occurred [2].

Public proof of concept: not established by the reviewed sources. The references include a VulnCheck advisory and a FFmpeg code review request [1], but the pack does not state whether either contains a proof of concept, and their content was not reviewed.

EPSS: the FIRST estimate for exploitation activity in the next 30 days is 0.0015 (0.15%), with a percentile of 0.0470, dated 2026-11-10 [3]. The source describes this as a statistical estimate and not evidence of exploitation [3].

Threat actors, campaigns and sectors: not established by the reviewed sources.

Reliability: the record is in Awaiting Analysis status, and the only scores are secondary [1]. The KEV and EPSS data are dated 2026-11-12 and 2026-11-10 respectively [2, 3].

Indicators of compromise

Not established by the reviewed sources. The pack contains no file hashes, file names of malicious samples, domains, IP addresses, URLs for payloads, process names, command lines or log events for this CVE [1, 2, 3]. No indicator should be invented or blocked on the basis of this article. Indicators would go stale quickly, and any future indicator must be validated against the organization's own telemetry before use.

Detection and exposure assessment

Asset inventory: identify every host, container image and device that runs an FFmpeg build. On each, run the read-only version command of the installed binary, for example ffmpeg -version, and compare the reported version with the affected range of through 9.0.2 [1]. A version match is not proof of exploitability; it shows only that the affected range applies.

Configuration check: identify whether the decoding application selects the V4L2 mem2mem decoder. The method depends on the application and is Not established by the reviewed sources. In FFmpeg, the list of available decoders can be read with a read-only command such as ffmpeg -decoders and filtered for V4L2 entries; the output shows what is compiled in, not what a given job selects. The reviewed sources do not confirm this command or its output format.

Authenticated vulnerability scanning: no scanner check for this CVE is named in the pack. Confirm with the scanner vendor whether a plugin exists for CVE-2026-125191 before relying on it.

Log and telemetry review: decoding hangs would appear as worker jobs that exceed their normal duration or stop producing output. The pack does not define log events for this CVE, so the threshold must be set from the organization's own baseline.

Network or endpoint monitoring: not applicable to a specific network signature, since none is documented [1, 2].

Immediate mitigation

Each measure below is an analyst recommendation that follows from the described hang. None is a vendor-confirmed mitigation, because the pack contains no vendor guidance [1].

  1. Restrict untrusted media decoding to hosts that use FFmpeg builds that are not in the affected range, or to builds that the distribution has confirmed as patched. Protects against the described hang. Limitation: the pack does not identify a fixed version, so the confirmation must come from the distribution or vendor. Side effect: capacity reduction. Verify with the version command above.
  2. Apply a per-job wall-clock timeout to decoding workers, so a hung decode is terminated and the job is retried or marked failed. Protects availability. Limitation: a timeout does not remove the flaw. Side effect: legitimate long jobs may fail. Verify by testing with an authorized, non-malicious long-running file in a staging environment.
  3. Run untrusted decoding in an isolated worker or container with automatic restart on failure, so a hang affects only the worker. Protects other services on the host. Limitation: does not prevent the hang. Verify by checking the restart policy in the orchestrator configuration.
  4. Increase monitoring of worker job duration and process responsiveness, and alert when a decode exceeds the baseline. Limitation: detects but does not prevent. Verify by confirming the alert fires on a test job in staging.

Permanent remediation

Vendor-confirmed fix: not established by the reviewed sources. The CVE record gives no fixed version and no vendor advisory identifier [1]. The record's references include a FFmpeg code review request and a commit [1], which may relate to the fix, but their content was not reviewed, so they cannot be treated as the fix without confirmation.

Recommended action: check the official FFmpeg release notes and the commit referenced in the record for the first release that contains the change, and then deploy that release or the distribution's backport. Confirm the fixed version against the vendor source, not only against this article.

Upgrade prerequisites, maintenance windows, rollback and any restart requirement: Not established by the reviewed sources. Standard practice is to snapshot the host or container image before the change and to restart decoding workers after the library is replaced, but the pack does not confirm any restart requirement for this fix.

Workarounds and compensating controls

No vendor workaround is named in the pack [1]. The measures in the Immediate mitigation section reduce impact but do not remove the flaw. Their residual risk is that a hang still occurs on each affected decode until the library is patched. A compensating control is not equivalent to a permanent fix, because the defective reference handling remains in the code.

Validation and verification

The checklist below is safe and read-only, except where a staging test is stated.

  1. Confirm the installed FFmpeg version on each host or image with the version command, and record the result, owner and date.
  2. Confirm that the installed version is greater than 9.0.2, or that the distribution's package changelog references the fix. The version string alone is not enough if a distribution backports patches; verify against the vendor or distribution advisory.
  3. Confirm the decoder configuration of the application, and record whether the V4L2 mem2mem path is used.
  4. In a staging environment only, decode authorized test media that includes a resolution change and confirm the decode completes within the normal baseline. Do not use crafted hostile samples on production systems.
  5. Confirm that timeouts, restart policies and monitoring from the mitigation section remain active after the change.
  6. Re-run the scanner check, if one exists, and record its limitation.
  7. Review worker logs and service health for at least one normal operating cycle after the change.
  8. Record evidence, exceptions and an owner for every host that cannot be patched. A single check does not prove that a system is secure.

Incident response

If a hang or unexplained decoder stall is observed on an affected host, treat it first as an availability incident. Triage: confirm that the affected process runs an FFmpeg build in range, and identify the input that was being decoded. Scope: list other workers that decoded the same input or used the same build. Containment: isolate the worker, keep the input file, and stop routing new untrusted media to the affected build. Evidence preservation: retain the input file, the process state if available, and logs, without destructive cleanup. Investigation: review logs for other unusual activity on the same host. The reviewed sources document no compromise indicators, so there is no basis to rotate credentials solely because of this CVE [1, 2]. Recovery: deploy a patched build after the fix is confirmed, and monitor job durations. Notification and reporting obligations: depend on the organization and are not assessed here. Lessons learned: record whether the decoder path was in use and why it was not detected earlier.

Security hardening and prevention

Specific to this flaw: review reference-count handling on all error and reinitialization paths in the V4L2 buffer code, and add regression tests that exercise resolution changes on multi-plane formats [analyst assessment]. The vendor's own test coverage for this path is Not established by the reviewed sources.

Defence-in-depth, labelled as broader guidance: run media decoding with the least privilege needed, in isolated processes or containers; apply hard timeouts to all external-input decoding; monitor worker health; and maintain an inventory of multimedia libraries so that library updates can be tracked. These measures are not sourced from the CVE record.

Risk assessment

Technical severity: the secondary CVSS scores are 5.7 MEDIUM (CVSS 4.0) and 4.7 MEDIUM (CVSS 3.1) [1]. Both describe availability impact only, with no confidentiality or integrity impact in the vectors [1].

Exposure and asset criticality: depend on whether the organization runs FFmpeg with the V4L2 path on untrusted input. This is Unknown from the pack.

Exploit prerequisites and attacker opportunity: the attacker needs to supply a crafted stream with a resolution change [1]. The attack path depends on the application. Not established by the reviewed sources whether the path is reachable in common deployments.

Evidence of exploitation: not established. KEV does not list the CVE [2], and EPSS is 0.0015 [3], which is a statistical estimate and not evidence of exploitation.

Business impact: a decoding hang causes service interruption where the decoder is used. Quantified impact is not assessed here.

Existing controls and residual risk: timeouts and isolation reduce impact but leave the flaw in place [analyst assessment].

Recommended remediation priority, Analyst assessment: medium priority for organizations that do not process untrusted media through the affected path, and high priority for services that decode untrusted uploads with the V4L2 path, where the availability impact could affect customers. This is an organization-specific judgement that assumes the decoding path is in use and is not the CVSS score. Raise the priority if the vendor or KEV later confirms exploitation or a fixed version is delayed.

Conclusion

The core flaw is a reference count leak in FFmpeg's V4L2 buffer code, classified as CWE-911, which can leave the decoder waiting indefinitely during a resolution change and hang the decoding application [1]. Operators of FFmpeg builds through 9.0.2 that decode untrusted H.264, HEVC or VP9 input through the V4L2 mem2mem path should act first, by inventorying affected builds and containing decoding workers with timeouts and restarts [S1, analyst assessment]. The permanent fix is a FFmpeg release or distribution backport that corrects the reference handling, but no fixed version is published in the reviewed sources [1]. Closing the issue requires the vendor's fixed version, the confirmed build version on each host, a staging test showing that decoding completes, and records of any exceptions. The record is still in Awaiting Analysis, so the scoring and affected range may change [1].

Remediation checklist

  1. Inventory every host, container image and device that runs an FFmpeg build, and record the output of the installed binary's version command for each; flag all builds at or below 9.0.2 as affected [1].
  2. Identify which decoding applications select the V4L2 mem2mem decoder path for H.264, HEVC or VP9 input, and record the owner and input source for each [1].
  3. Prioritize hosts that decode untrusted uploads through the V4L2 path for containment first [S1, analyst assessment].
  4. Apply a per-job wall-clock timeout to decoding workers so a stalled decode is terminated and recorded as failed; verify in staging with authorized test media [S1, analyst assessment].
  5. Run untrusted decoding in isolated containers or processes with automatic restart on failure; verify the restart policy in the orchestrator configuration [analyst assessment].
  6. Monitor worker job duration and process responsiveness, alerting on decodes that exceed the established baseline; verify with a staging test job [analyst assessment].
  7. Check the FFmpeg release notes and the commit referenced in the CVE record for the first release containing the change, and confirm the fixed version with the vendor or distribution advisory before deploying [1].
  8. Deploy the confirmed fixed FFmpeg release or distribution backport after taking a snapshot or image backup; the restart requirement is Not established by the reviewed sources [1].
  9. After patching, rerun the version check and confirm the installed version or package changelog references the fix; record evidence, owner and date [1].
  10. Re-run a staging decode of authorized test media with a resolution change and confirm completion within the normal baseline; do not use hostile samples on production [S1, analyst assessment].
  11. Re-check the NVD record and the CISA KEV catalog when the record leaves Awaiting Analysis or a fixed version is published, and update the affected range accordingly [1, 2].

Evidence gaps

  • Vendor advisory or patch identifier and fixed version: not published in the pack; check the FFmpeg release notes and the referenced commit and code review request against the vendor source.
  • Complete affected version range: only an upper bound of through 9.0.2 is published; obtain the earliest affected release from the vendor history or the distribution advisory.
  • Root cause details: the record gives CWE-911 and a general description but not the exact missing decrement or code path; the referenced commit content is needed to confirm it.
  • NVD primary analysis and CPE configuration: the record is Awaiting Analysis and the CPE list is not in the pack; check the NVD record again after analysis completes.
  • Exploitation evidence: no confirmed in-the-wild exploitation is documented; check the KEV catalog and vendor or threat intelligence reports after the record is analyzed.
  • Public proof of concept: the VulnCheck advisory and code review request were not reviewed for proof-of-concept content; review them directly before drawing conclusions.
  • Indicators of compromise and detection signatures: none in the pack; a vendor or threat intelligence source would be needed.
  • Whether distribution packages backport the fix or are affected: not established; check each distribution's security tracker for the CVE.
  • Whether a default build or common application enables the V4L2 mem2mem path: not established; test the decoder selection in the target applications.
  • Whether the hang is repeatable, scoped to one process, or affects other threads: not established by the reviewed sources.

References

  1. CVE-2026-125191 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125191. Accessed 2026-11-12. CVE identity, record status and dates, description of the reference count leak and hang on resolution change, CVSS 4.0 and 3.1 scores and vectors with secondary scorer, CWE-911, the upper-bound affected version through 9.0.2, reference list without NVD tags, and the file naming discrepancy.
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12. Absence of CVE-2026-125191 from the CISA KEV catalog as of 2026-11-12, and the statement that absence is not evidence of no exploitation.
  3. EPSS score for CVE-2026-125191. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125191. Accessed 2026-11-12. FIRST EPSS value 0.0015 with percentile 0.0470 dated 2026-11-10, and its characterization as a statistical estimate rather than evidence of exploitation.

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.7 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
high (only works under specific conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
yes, a user must view or visit something
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 5.5 from NVD: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness

  • CWE-911: Improper Update of Reference Count

Affected and fixed versions

ProductAffected versionsFixed in
FFmpeg≤ 9.0.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • FFmpeg

Frequently asked questions

What is CVE-2026-125191?

CVE-2026-125191 describes a reference count leak in FFmpeg's V4L2 mem2mem decoder code that can leave the decoder waiting indefinitely during a resolution change, hanging the decoding application. Weakness type: Improper Update of Reference Count (CWE-911).

How severe is CVE-2026-125191?

CVE-2026-125191 has a CVSS 4.0 base score of 5.7 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.

Is CVE-2026-125191 being exploited?

Not as far as is known: CVE-2026-125191 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-125191?

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125191?

Inventory every host, container image and device that runs an FFmpeg build, and record the output of the installed binary's version command for each; flag all builds at or below 9.0.2 as affected. Identify which decoding applications select the V4L2 mem2mem decoder path for H.264, HEVC or VP9 input, and record the owner and input source for each. Prioritize hosts that decode untrusted uploads through the V4L2 path for containment first [S1, analyst assessment].

Timeline & sources

References