---
title: "CVE-2026-125209: FFmpeg - Buffer Overflow"
description: "FFmpeg < 8.1.3 and 9.x < 9.0.2 contain a heap buffer overflow caused by underestimating RLE output size in the DVD subtitle encoder, letting attackers corrupt heap memory via crafted bitmap subtitles, exploit requires crafted input files."
url: https://panop.io/threat-heartbeat/CVE-2026-125209/
---

# CVE-2026-125209 FFmpeg - Buffer Overflow

FFmpeg < 8.1.3 and 9.x < 9.0.2 contain a heap buffer overflow caused by underestimating RLE output size in the DVD subtitle encoder, letting attackers corrupt heap memory via crafted bitmap subtitles, exploit requires crafted input files.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.14% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-125209)

## Details

Type

Buffer Overflow

Impact

Remote Code Execution, Denial Of Service

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

9 November 2026

Updated

11 November 2026

Weakness

[CWE-131](https://cwe.mitre.org/data/definitions/131.html)

## Vendor fix

Upgrade to version 8.1.3, 9.0.2 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-125209](https://nvd.nist.gov/vuln/detail/CVE-2026-125209)
- [https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24486](https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24486)
- [https://github.com/FFmpeg/FFmpeg](https://github.com/FFmpeg/FFmpeg)
- [https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/dvdsubenc.c#L344](https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/dvdsubenc.c#L344)
- [https://github.com/FFmpeg/FFmpeg/commit/8702f12c9daa199cc4d7c17164b13c3cdcdc2436](https://github.com/FFmpeg/FFmpeg/commit/8702f12c9daa199cc4d7c17164b13c3cdcdc2436)
- [https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow-via-dvdsubenc-c](https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow-via-dvdsubenc-c)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
