Home › CVE › Vulnerabilities
CVE-2026-125258 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg through 9.0.2: division by zero in Dolby Vision RPU configuration enables denial of service (CVE-2026-125258)
| CVE | CVE-2026-125258 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 07:21 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Updated | November 25, 2026 15:21 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Update — November 25, 2026
- NVD finished its analysis of this CVE. (NVD record)
- Fixes are now listed: code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408, github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dovi_rpuenc.c.
Executive summary
CVE-2026-125258 is a division-by-zero weakness (CWE-369) in FFmpeg's Dolby Vision RPU encoder configuration function, which the record places in libavcodec and which can be reached while processing a stream whose frame rate denominator is zero [1]. The record's secondary CVSS 4.0 score is 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 the CVSS 3.1 score is 4.7 MEDIUM with vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H, both scored by VulnCheck as secondary scorers [1]. The CVE record lists FFmpeg through 9.0.2 as affected, and no fixed version is published in the reviewed sources [1]. The record describes exploitation through crafted HEVC or AV1 input processed by the dovirpu bitstream filter or by the libx265, libaom or libsvtav1 encoders, with the impact limited to denial of service [1]. The record is still Awaiting Analysis, and the CISA KEV catalog did not list the CVE as of 2026-11-12, which does not establish that it has not been exploited [1, 2]. The FIRST EPSS estimate is 0.0015 (0.15%) with percentile 0.0470, a statistical estimate and not evidence of exploitation [3]. The most important immediate action is to inventory FFmpeg builds at or below 9.0.2 that run these encoders or the bitstream filter on untrusted media, and to restrict or isolate that processing until a vendor fix is identified and verified [1].
Key points
- CVE-2026-125258 is a division-by-zero flaw (CWE-369) in FFmpeg's Dolby Vision RPU configuration code, with the record affecting FFmpeg through 9.0.2 [1].
- Secondary CVSS scores are 5.7 MEDIUM (4.0) and 4.7 MEDIUM (3.1), both local-vector with availability as the only impact; the two vectors disagree on user interaction [1].
- The record names the dovirpu bitstream filter and the libx265, libaom and libsvtav1 encoders as paths for crafted HEVC or AV1 input [1].
- The CVE is not in the CISA KEV catalog as of 2026-11-12, and EPSS is 0.0015 with percentile 0.0470; neither shows whether exploitation has or has not occurred [2, 3].
- No vendor fixed version or advisory is in the reviewed sources, so the permanent fix is not established [1].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125258 | [1] |
| Vendor / CNA | FFmpeg (affected versions published by the CVE Numbering Authority) | [1] |
| Product | FFmpeg | [1] |
| Component | libavcodec, file libavcodec/dovirpuenc.c, function doviconfigureext(); the reference list points to libavcodec/dovi_rpuenc.c at tag n9.0.2, so the file name differs between the description and the reference | [1] |
| Published | 2026-11-09T20:18:12 | [1] |
| Last modified | 2026-11-10T21:46:36 | [1] |
| Record status | Awaiting Analysis | [1] |
| CWE | CWE-369 (Divide By Zero) | [1] |
| CVSS 4.0 | 5.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; scorer disclosure@vulncheck.com (Secondary) | [1] |
| CVSS 3.1 | 4.7 MEDIUM; vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H; scorer disclosure@vulncheck.com (Secondary) | [1] |
| KEV status | Not listed as of 2026-11-12 | [2] |
| EPSS | 0.0015 (0.15%), percentile 0.0470, dated 2026-11-10 | [3] |
| Related references | A pull request (number 25408) on the FFmpeg code host, a commit ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe on the FFmpeg GitHub repository, and a VulnCheck advisory are listed in the record; the record does not state which of them, if any, is the fix | [1] |
The weakness class is a division where the divisor is zero. Its consequence is typically an arithmetic fault that terminates the process, which matches the denial-of-service impact described in the record [1]. Scores are shown as published by the secondary scorer; the reviewed sources contain no NVD-assigned score and no vendor score. Not established by the reviewed sources: whether NVD has completed its analysis and assigned its own CVSS or CWE data.
Technical background
FFmpeg is an open-source multimedia framework whose libavcodec library implements audio and video encoders and decoders [1]. Dolby Vision is a high dynamic range format that carries per-frame reshaping metadata, called the RPU (reference processing unit), alongside the video bitstream. The record ties the flaw to a Dolby Vision RPU encoding routine and to a bitstream filter named dovirpu, which processes the RPU data as part of encoding [1]. HEVC (High Efficiency Video Coding) and AV1 are modern video codecs whose bitstreams carry the frame-rate-related timing information that the flawed code reads [1]. The libx265, libaom and libsvtav1 libraries are third-party encoders that FFmpeg can call; the record names them as encoder paths that reach the flawed code [1].
A frame rate is commonly expressed as a fraction, a numerator divided by a denominator. A denominator of zero is mathematically undefined, so any code that divides by it must check for this case first. The sources do not describe the exact timing fields or the parser that supplies them; that detail is Not established by the reviewed sources.
Vulnerability description
The security property affected is availability. The record states that the function doviconfigureext() in the Dolby Vision RPU encoding code performs a division without validating a frame rate denominator, so a zero value causes a division by zero [1]. An attacker who can get a crafted HEVC or AV1 input processed by the dovirpu bitstream filter, or by one of the named encoders, can crash the FFmpeg process, producing denial of service [1].
Conditions that matter: the input must reach the affected code path. The record names the dovirpu bitstream filter and the libx265, libaom and libsvtav1 encoders as paths [1]. Whether a default FFmpeg command line reaches this code without explicit selection of these components is Not established by the reviewed sources.
What the record does not establish: it does not describe code execution, memory corruption, disclosure of data or modification of output. Its CVSS vectors set confidentiality and integrity impacts to none and availability to high in both versions [1]. Claims beyond a process crash would be unsupported by the reviewed sources.
Root cause analysis
Confirmed: the record classifies the flaw as CWE-369, division by zero, and states that the denominator is not validated before use [1].
Analyst assessment: the root cause is an input-validation omission. The denominator value comes from attacker-influenced stream data, the function divides by it, and no guard rejects zero before the division. The design intent is presumably that the RPU configuration path accepts only valid frame-rate values; the existing parsers or callers apparently did not enforce that property for this path. This explanation is inferred from the CWE class and the description, not from the source code. The reviewed sources do not show the surrounding code, the caller chain or the upstream fix, so the exact missing check and its location in the function cannot be confirmed.
The record's reference list includes a pull request, a commit and a tagged source file, which would normally show the change. The reviewed sources do not describe their contents, so whether they add a zero check is Unknown.
Technical mechanics
- A media file or elementary stream in HEVC or AV1 form is supplied to FFmpeg, either for transcoding or for processing through the dovirpu bitstream filter [1].
- The stream's timing information, including the frame rate fraction, is read and passed into the Dolby Vision RPU configuration logic [1].
- The function doviconfigureext() uses the frame rate denominator as a divisor [1].
- The denominator is not checked for zero before the division, so a zero denominator produces an undefined operation that terminates the process [1].
- The control that should have prevented this is a validation step, before the division, that rejects a zero denominator or substitutes a safe default. Whether that control is absent in every relevant FFmpeg build or only in a specific code path is Not established by the reviewed sources.
Illustrative only: an encoder that receives a zero-denominator timing value would stop at step 4 and never produce output.
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Evidence |
|---|---|---|
| Network access | The CVSS 4.0 and 3.1 vectors specify local attack vector (AV:L) | [1] |
| Adjacent network | Not indicated by the vectors | [1] |
| Local access | Required by the vectors (AV:L) | [1] |
| Physical access | Not established by the reviewed sources | [1] |
| Authentication | None required (PR:N) | [1] |
| User interaction | CVSS 4.0 specifies passive user interaction (UI:P); CVSS 3.1 specifies required user interaction (UI:R). The two vectors disagree | [1] |
| Attack complexity | High (AC:H) in both vectors | [1] |
| Attack requirements | Present condition in CVSS 4.0 (AT:P), meaning deployment or runtime conditions beyond the attacker's control apply; the specific conditions are not described | [1] |
| Configuration | The record names the dovirpu bitstream filter and the libx265, libaom and libsvtav1 encoders as affected paths; whether these are enabled by default in any distribution is Not established by the reviewed sources | [1] |
| Attacker position | The description says attackers supply input, which suggests an attacker must be able to get a file or stream processed locally; the vectors' local attack vector is consistent with this but the delivery route is not described | [1] |
The CVSS vectors describe conditions that must hold, but they do not show that the flawed path is reachable in practice. The local attack vector and the user-interaction value in the two vectors are scorer judgments, and the disagreement between them should be resolved by the NVD analysis when it is complete [1].
Exploitation scenarios and attack lifecycle
Illustrative scenario: a service that transcodes user-submitted HEVC or AV1 files with FFmpeg, using the Dolby Vision path or one of the named encoders, receives a file with a zero frame rate denominator. The FFmpeg worker process terminates, and the service's job fails or restarts. Defensive opportunities: process-level isolation so that one crashed worker does not affect the service, input inspection before the FFmpeg stage, and crash-rate monitoring.
Illustrative scenario: an analyst or build system runs FFmpeg locally on a file received from an external source, such as a shared archive. A crash interrupts the processing pipeline. Defensive opportunities: running untrusted media in a sandboxed or disposable environment.
The reviewed sources do not document any real-world attack chain, threat actor, campaign or post-exploitation activity. Any chain beyond process termination is not established and should not be assumed.
Impact analysis
| Area | Technically demonstrated by sources | Plausible downstream consequence (Analyst assessment) |
|---|---|---|
| Confidentiality | None per the CVSS vectors (C:N, VC:N) [1] | None expected from the record's description |
| Integrity | None per the CVSS vectors (I:N, VI:N) [1] | Truncated or missing output for affected jobs |
| Availability | High impact on the vulnerable component per the CVSS vectors (A:H, VA:H) [1] | Crashed transcoding or processing jobs, delayed pipelines, repeated restarts |
| Authentication and authorization | Not established by the reviewed sources; no authentication is required (PR:N) [1] | Not established by the reviewed sources |
| Privilege boundaries | Not affected per the CVSS scope values (S:U) [1] | Not established by the reviewed sources |
| Data and privacy | Not established by the reviewed sources | Not established by the reviewed sources |
| Business operations | Not established by the reviewed sources | Service interruption in media pipelines that use the affected paths |
| Regulatory or contractual | Not established by the reviewed sources | Depends on service-level commitments; not assessed here |
Affected products and versions
| Vendor | Product / component | Affected versions | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg | libavcodec, Dolby Vision RPU encoding (doviconfigureext) | Through 9.0.2, stated as less than or equal to 9.0.2 | Not established by the reviewed sources | Not established by the reviewed sources | Published by the CNA in the CVE record [1] |
The record gives one affected range, without a lower bound and without any build-specific or distribution-specific detail [1]. No vendor advisory is in the pack, so whether earlier branches, later development builds or distribution packages are affected is Not established by the reviewed sources. The version at which the flaw was introduced is Not established by the reviewed sources.
Exploitation and threat intelligence status
| Evidence type | Status | Source and date |
|---|---|---|
| Confirmed exploitation in the wild | Not established by the reviewed sources | [1, 2] |
| CISA KEV listing | Not listed as of 2026-11-12; the catalog listing is not evidence of non-exploitation | [2] |
| Public proof of concept | Not established by the reviewed sources; the record references a VulnCheck advisory, but the pack does not describe its contents | [1] |
| EPSS | 0.0015 (0.15%), percentile 0.0470, dated 2026-11-10; a statistical estimate, not evidence of exploitation | [3] |
| Threat actors, campaigns, sectors | Not established by the reviewed sources | None |
The absence of public evidence is not proof that exploitation has not occurred. The EPSS figure is low, but it is a model output and does not describe this specific environment.
Indicators of compromise
The reviewed sources give no file hashes, file names, domains, IP addresses, URLs, process command lines or log events associated with exploitation of this CVE. No indicators are provided here. Any indicator added later must be validated against the source that gives it before it is blocked, because indicators go stale quickly.
Useful observable signals that follow from the described behaviour, labelled Analyst assessment: unexpected termination of FFmpeg worker processes while processing HEVC or AV1 input, with a fault consistent with an arithmetic error, and repeated crashes on the same input file. These are not indicators of compromise and may have other causes.
Detection and exposure assessment
Step 1, asset inventory: list every host, container image and application that bundles or invokes FFmpeg, including its version. The record's affected range covers versions through 9.0.2 [1]. Build systems and container images often embed FFmpeg in a way that is not visible in the operating system package list, so the inventory must include them.
Step 2, version check: on each host where the ffmpeg command is installed, run the standard version command below, which is read-only. Prerequisite: the ffmpeg binary must be on the path or referenced by its full path.
ffmpeg -version
Expected output: a banner that includes the FFmpeg version and the build configuration. Limitations: a version string shows the release, not whether a distribution has backported a fix, and the reviewed sources do not give a fixed version for comparison. A version check is not proof of exploitability.
Step 3, encoder and feature check: the record names libx265, libaom and libsvtav1 and the dovirpu bitstream filter as relevant paths [1]. The following read-only FFmpeg listing shows which encoders a build exposes. Prerequisite: the same binary as step 2.
ffmpeg -encoders
Expected output: a list of encoders, from which presence of the named libraries can be checked. Limitations: presence of an encoder does not prove it is reachable from a given service, and whether the dovirpu filter is listed by the filter listing for the build is Not established by the reviewed sources.
Step 4, log and telemetry review: search worker and job logs for abnormal FFmpeg termination events on HEVC or AV1 jobs over the period since 2026-11-09, the record's publication date [1]. Limitations: crash logs may not record the input format, and crashes have many causes.
Step 5, scanning: a vulnerability scanner may flag the package version; the reviewed sources do not describe a vendor-supplied detection check, so scanner coverage is Unknown.
Immediate mitigation
These measures follow from the component's documented behaviour as described in the record and are not vendor-confirmed workarounds, because no vendor advisory is in the pack.
| Priority | Measure | Protects against | Limitations and side effects | How to verify |
|---|---|---|---|---|
| 1 | Restrict processing of untrusted HEVC and AV1 input through FFmpeg, especially with the dovirpu filter and the libx265, libaom and libsvtav1 encoders [1] | Reaching the flawed path with attacker-supplied input | Operational impact on services that rely on those paths | Review pipeline configurations to confirm the filter and encoder options are removed or gated |
| 2 | Run FFmpeg workers in isolated, disposable containers or sandboxes with resource limits | Crash propagating to the host or other services | Does not prevent the crash itself; restarts may add latency | Confirm one worker's crash leaves the host and other jobs running in a controlled test |
| 3 | Validate input before FFmpeg by rejecting streams whose timing fields are malformed or absent, if the parser exposes such checks | Reaching the division with a zero denominator | Depends on available parser support; not established by the reviewed sources | Test with an authorized, non-malicious sample set to confirm rejection behaviour |
| 4 | Increase monitoring of FFmpeg worker crashes and alert on repeated failures | Undetected repeated disruption | Alert noise; does not block exposure | Confirm alerts fire on a simulated worker failure |
| 5 | Reduce exposure of the processing service to untrusted uploaders | Attacker-supplied input | Business impact for public upload services | Confirm access controls on upload endpoints |
Permanent remediation
Vendor-confirmed fix: not established by the reviewed sources. The pack contains no vendor advisory, no fixed version and no statement that a release contains the change. The commit and pull request listed in the record may contain the fix, but the reviewed sources do not confirm it [1].
Recommended hardening, not vendor-confirmed: once the FFmpeg project publishes a release or a commit that addresses this issue, upgrade affected builds to that release or rebuild from that commit, then verify with the steps in the validation section. Container images and distribution packages must be rebuilt or updated by their maintainers, and their fixed versions must be checked separately.
Prerequisites and considerations: back up the existing build and its configuration, test the new build against representative HEVC and AV1 jobs in a staging environment, schedule a maintenance window for services that use the affected paths, and keep the previous build available for rollback. Whether a restart or reload is required after updating is Not established by the reviewed sources; restarting processing workers is the normal approach for a command-line tool.
Workarounds and compensating controls
The measures in the immediate mitigation section are compensating controls. They reduce exposure but do not correct the division. Removing the dovirpu filter or the named encoders from a pipeline stops a known path but may break functionality. Sandboxing limits blast radius but leaves the flaw in place. None of these is equivalent to a verified upstream fix, and each should be recorded with an owner and a review date.
Validation and verification
- Confirm the installed FFmpeg version or build on each host and container, using the version command in the detection section, and record it.
- Once a fixed version is identified, confirm that the build's version and source identifier match the fixed release published by the vendor. Not established by the reviewed sources until a vendor fix is published.
- Confirm the pipeline configuration no longer exposes the affected paths, or that the compensating controls are still active where the fix is deferred.
- Run a controlled test with authorized, non-malicious sample files in a staging environment, and confirm that the worker handles them without crashing.
- Review worker logs for crashes on HEVC and AV1 jobs over the period after the update.
- Check the vulnerability scanner result for the updated package, and record any scanner limitations.
- Record evidence, owner, date and any exceptions. A single passing check does not establish that the system is secure.
Incident response
If unexpected FFmpeg crashes are linked to HEVC or AV1 input, treat the event as a possible exploitation attempt until triage shows otherwise, and follow the organization's incident response plan.
- Triage and scope: identify the affected hosts, containers and jobs, and the inputs that triggered the crashes.
- Containment: isolate the affected worker pool or restrict the input source, without deleting the crashing inputs or logs.
- Evidence preservation: retain worker logs, the input files, and the FFmpeg build identifiers, using forensically sound copies.
- Log and endpoint investigation: determine whether crashes cluster around particular sources or uploaders, and whether any process behaviour beyond termination occurred. No such behaviour is documented in the reviewed sources.
- Credentials: rotate secrets only if other evidence shows compromise; the reviewed sources do not show credential exposure.
- Eradication and patching: apply the vendor-confirmed fix when one is published, or the compensating controls until then.
- Recovery and monitoring: restore services and monitor crash rates for a defined period.
- Notification and reporting: follow applicable obligations; none are established by the reviewed sources for this CVE.
- Lessons learned: record which pipelines lacked isolation or input validation.
Security hardening and prevention
Specific to this flaw: the FFmpeg code path that divides by a stream-supplied denominator should reject zero before the division. Developers maintaining FFmpeg or forks should add a regression test that feeds a zero-denominator timing value to the RPU configuration path and asserts that the process returns an error rather than terminating. Verify with the project's test suite once the change exists.
Broader defence-in-depth, labelled as such: run media processing with least privilege and resource limits; isolate untrusted-input transcoding from core services; keep an inventory of embedded media libraries in container images; monitor crash rates; and apply input validation at each parsing boundary.
Risk assessment
Technical severity: the secondary CVSS scores are 5.7 MEDIUM for 4.0 and 4.7 MEDIUM for 3.1, and both describe a local attack vector with availability as the only impact [1]. Exposure: depends on whether the organization runs FFmpeg with the named paths on untrusted input, which is Not established by the reviewed sources for any given environment. Exploit prerequisites: local access, no authentication, high attack complexity, and a user-interaction value that differs between the two vectors [1]. Evidence of exploitation: none in the reviewed sources; KEV has no listing and EPSS is 0.0015 [2, 3]. Business impact: service interruption in affected pipelines. Existing controls: not assessed. Residual risk: remains until a vendor fix is verified.
Recommended remediation priority (Analyst assessment, with assumptions): medium priority for organizations that process untrusted HEVC or AV1 media through FFmpeg with the named paths, to be actioned with isolation and input restriction now and a fix when available; lower priority for environments where FFmpeg runs only on trusted content. This organization-specific view is not the CVSS score and depends on the assumptions stated here.
Conclusion
The core flaw is an unchecked zero denominator used as a divisor in FFmpeg's Dolby Vision RPU configuration code, reachable through the dovirpu filter and named encoders with crafted HEVC or AV1 input, leading to denial of service [1]. Operators of FFmpeg through 9.0.2 should act first by restricting untrusted input to those paths and isolating workers. The permanent fix is an upstream change that rejects zero denominators, which is not confirmed by the reviewed sources. Closing the issue requires a vendor-confirmed fixed version, a verified upgraded build in every affected location, the record's analysis from NVD, and validation evidence with owners and dates [1, 2, 3].
Remediation checklist
- Inventory every host, container image and application that bundles FFmpeg, and record each version, comparing against the affected range through 9.0.2 [1].
- Run ffmpeg -version on each inventoried host and record the output; the expected output is a banner showing the release and build configuration. A version match is not proof of exploitability [1].
- Run ffmpeg -encoders on each host and note whether libx265, libaom or libsvtav1 are present, since the record names these encoders as relevant paths [1].
- Restrict processing of untrusted HEVC and AV1 input through the dovirpu bitstream filter and the named encoders, and verify the pipeline configuration no longer exposes them [1].
- Run FFmpeg workers in isolated, resource-limited containers or sandboxes, and confirm in a controlled test that a worker crash does not affect the host or other jobs [1].
- Add alerting on repeated FFmpeg worker terminations for HEVC and AV1 jobs, and confirm the alert fires in a simulated failure [1].
- Monitor the NVD record and the FFmpeg project for a vendor fix, since the record is Awaiting Analysis and no fixed version is published in the reviewed sources [1].
- When a fixed build is published, back up the current build and configuration, test the new build in staging with authorized sample files, and roll out in a maintenance window with a rollback plan [1].
- After upgrade, confirm the installed version matches the fixed release, re-run the encoder and filter checks, and review worker logs for crashes over the following period [1].
Evidence gaps
- Vendor-confirmed fixed version, patch or advisory: the reviewed sources give none; a FFmpeg release note or security advisory naming the fixed version would settle it [1].
- Whether the listed pull request, commit or tagged file contains the fix: the sources list them without describing their contents; reviewing those changes would settle it [1].
- Complete affected range, including earlier branches, development builds and distribution packages: only the through-9.0.2 statement is published; vendor version data or distribution advisories would settle it [1].
- Root cause from the source code: the function, caller chain and validation logic are not described; the upstream code change or the NVD analysis would settle it [1].
- Default reachability: whether the dovirpu filter or the named encoders are enabled in default builds or common distributions; build configuration documentation would settle it [1].
- NVD analysis, CVSS and CWE confirmation: the record is Awaiting Analysis and both CVSS scores are from a secondary scorer; NVD's completed analysis would settle it [1].
- Public proof of concept and exploitation evidence: the VulnCheck advisory is referenced but its content is not in the pack; reviewing it and any exploit repositories would settle it [1].
- Indicators of compromise: none are given; vendor or incident responder reporting would be needed [1, 2].
- Resolution of the user-interaction disagreement between CVSS 4.0 (UI:P) and CVSS 3.1 (UI:R): the NVD analysis would settle it [1].
- Discrepancy in the file name (dovirpuenc.c in the description versus dovi_rpuenc.c in the reference): the source tree at the referenced tag would settle which name is correct [1].
References
- CVE-2026-125258 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125258. Accessed 2026-11-12.
- 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.
- EPSS score for CVE-2026-125258. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125258. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains a division by zero vulnerability in dovi_configure_ext() in libavcodec/dovi_rpuenc.c that allows attackers to crash the process via an unvalidated frame rate denominator. Attackers can supply a crafted HEVC or AV1 input with a nonzero frame rate numerator and zero denominator to the dovi_rpu bitstream filter or libx265, libaom, or libsvtav1 encoders, causing denial of service.
Severity breakdown
Medium · 5.7
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
Weakness
- CWE-369: Divide By Zero
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≤ 9.0.2 | — |
References by type
Patches and fixed releases
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dovi_rpuenc.c
- github.com/FFmpeg/FFmpeg/commit/ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125258?
CVE-2026-125258 is a division-by-zero weakness (CWE-369) in FFmpeg's Dolby Vision RPU encoder configuration function, which the record places in libavcodec and which can be reached while processing a stream whose frame rate denominator is zero. Weakness type: Divide By Zero (CWE-369).
How severe is CVE-2026-125258?
CVE-2026-125258 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-125258 being exploited?
Not as far as is known: CVE-2026-125258 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-125258?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125258?
Inventory every host, container image and application that bundles FFmpeg, and record each version, comparing against the affected range through 9.0.2. Run ffmpeg -version on each inventoried host and record the output; the expected output is a banner showing the release and build configuration. A version match is not proof of exploitability. Run ffmpeg -encoders on each host and note whether libx265, libaom or libsvtav1 are present, since the record names these encoders as relevant paths.