PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125258 FFmpeg CVE debrief

A division by zero vulnerability exists in FFmpeg through version 9.0.2 in the dovi_configure_ext() function within libavcodec/dovi_rpuenc.c. This vulnerability allows attackers to cause a denial of service by supplying 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.

Vendor
FFmpeg
Product
Unknown
CVSS
MEDIUM 5.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-09
Original CVE updated
2026-11-10
Advisory published
2026-11-09
Advisory updated
2026-11-10

Who should care

Defenders responsible for FFmpeg installations, particularly those handling media encoding or processing, should assess exposure and prioritize patching to prevent potential denial of service attacks.

Why it matters

This vulnerability allows attackers to cause a denial of service in FFmpeg through a division by zero error. Defenders should verify and patch FFmpeg installations, especially those processing HEVC or AV1 inputs, to prevent potential crashes.

  • Potential denial of service through process crashes
  • Requires verification of FFmpeg versions and input validation practices
  • Patching priority for installations handling HEVC or AV1 inputs

Technical summary

The dovi_configure_ext() function in libavcodec/dovi_rpuenc.c does not validate the frame rate denominator, allowing for a division by zero when a nonzero frame rate numerator and zero denominator are supplied. This can be exploited through crafted HEVC or AV1 input to the dovi_rpu bitstream filter or certain encoders. Affected product deployments should be identified and patched to prevent potential denial of service attacks, particularly those handling HEVC or AV1 inputs. Defenders should verify and patch FFmpeg installations to prevent potential crashes.

Defensive priority

Medium priority should be given to verifying and patching FFmpeg installations, particularly those handling HEVC or AV1 inputs, to prevent potential denial of service attacks.

Recommended defensive actions

  • Verify FFmpeg version and apply patches if necessary
  • Restrict input to prevent crafted HEVC or AV1 files
  • Monitor for suspicious input patterns
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is confirmed in FFmpeg version 9.0.2. The CVE Program and NVD provide official records of this vulnerability. Additional details are available from GitHub advisories and FFmpeg source code references.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125258 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-125258

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-125258 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125258

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • FFmpeg through 9.0.2 contains a division by zero vulnerability in dovi_configure_ext() in...

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-8qc4-38fg-fxc3

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dovi_rpuenc.c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-via-dovi-configure-ext-in-dovi-rpuenc-c

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.