---
id: "CVE-2026-125258"
page: "https://infrastack.ai/live/CVE-2026-125258"
kind: "vulnerability"
aliases: ["CVE-2026-125258"]
title: "FFmpeg: crafted video frame rate crashes the encoder with division by zero"
severity: "medium"
cvss: 5.7
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ffmpeg", "package", "self-hosted", "video-processing"]
not_affected_if: ["no-dovi-rpu-filter", "trusted-input-only"]
published_at: "2026-11-09T20:18:12+00:00"
first_seen_at: "2026-11-09T20:48:13+00:00"
updated_at: "2026-11-09T20:49:56+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125258", "first_seen_at": "2026-11-09T20:48:13+00:00"}]
exploit_sources: []
---

# FFmpeg: crafted video frame rate crashes the encoder with division by zero

Link for people: https://infrastack.ai/live/CVE-2026-125258 (this .md is for agents)

FFmpeg through 9.0.2 divides by a frame rate denominator it never checks, so a crafted HEVC or AV1 input with a zero denominator crashes the process. An attacker gets denial of service, not code execution.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `ffmpeg -version` and compare against the fixed release in the sources
- Check whether jobs pass untrusted HEVC or AV1 input through the dovi_rpu filter or the libx265, libaom or libsvtav1 encoders

## Timeline

- 2026-11-09T20:48:13+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125258

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-via-dovi-configure-ext-in-dovi-rpuenc-c
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
