PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125232 FFmpeg CVE debrief

A division by zero vulnerability exists in FFmpeg through version 9.0.2 in the `estimate_motion_b()` function within `libavcodec/motion_est.c`. This issue arises due to frame timestamp distances being truncated to 16 bits, allowing attackers to supply input with timestamp gaps that are multiples of 65536. This can cause MPEG-4 Part 2 or MPEG-1/2 B-frame encoding to crash with a SIGFPE signal.

Vendor
FFmpeg
Product
Unknown
CVSS
MEDIUM 6.8
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 managing systems that utilize FFmpeg for video encoding, especially those handling MPEG-4 Part 2 or MPEG-1/2 B-frame encoding, should assess their exposure to this vulnerability. This includes reviewing current FFmpeg versions, updating to fixed versions if necessary, and monitoring for potential system crashes or errors related to FFmpeg.

Why it matters

This vulnerability in FFmpeg can cause system crashes or errors during video encoding, particularly for MPEG-4 Part 2 or MPEG-1/2 B-frame encoding. Defenders should verify and update FFmpeg installations to prevent potential issues.

  • Potential system crashes or errors during video encoding
  • Verification of FFmpeg installations and configurations is required
  • Updating to a fixed version of FFmpeg may be necessary
  • Monitoring for exploitation attempts or related anomalies is advised

Technical summary

The `estimate_motion_b()` function in `libavcodec/motion_est.c` of FFmpeg through version 9.0.2 is vulnerable to a division by zero error. This occurs because frame timestamp distances are truncated to 16 bits, allowing for input with specific timestamp gaps to cause a crash with a SIGFPE signal during MPEG-4 Part 2 or MPEG-1/2 B-frame encoding. The vulnerability can be triggered by supplying input with timestamp gaps that are multiples of 65536. Defenders should verify and update FFmpeg installations to prevent potential crashes due to this vulnerability. Systems utilizing FFmpeg for video encoding, especially those handling MPEG-4 Part 2 or MPEG-1/2 B-frame encoding, should assess their exposure and consider

Defensive priority

Defenders should prioritize verifying and updating FFmpeg installations to prevent potential crashes due to this vulnerability. Systems utilizing FFmpeg for video encoding, especially those handling MPEG-4 Part 2 or MPEG-1/2 B-frame encoding, should assess their exposure.

Recommended defensive actions

  • Verify FFmpeg version and assess exposure
  • Update FFmpeg to a fixed version if available
  • Monitor systems for potential crashes or errors related to FFmpeg
  • Review and adjust video encoding configurations to prevent exploitation
  • Perform vulnerability scanning to identify exposed systems
  • Implement compensating controls for exposed systems while remediation is scheduled
  • Track exceptions and retest remediated assets

Evidence notes

The vulnerability is confirmed in FFmpeg version 9.0.2. The issue is caused by frame timestamp distances being truncated to 16 bits, leading to a division by zero error. Official sources and references provide details on the affected code and potential fixes.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125232 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125232 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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 estimate_motion_b() in...

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-3242-hx2p-rmrh

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/16d19ccbce802634662a9bf18a5679cf27da2848

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    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/motion_est.c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-in-b-frame-motion-estimation

    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.