---
title: "CVE-2026-125208: FFmpeg - Out of Bounds Write"
description: "FFmpeg <= 9.0.2 contains an out-of-bounds write vulnerability caused by unchecked cumulative plane offsets in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c, letting attackers supply crafted video to write past mmaped driver buffer during V4L2 M2M encoding, exploit requires crafted video input."
url: https://panop.io/threat-heartbeat/CVE-2026-125208/
---

# CVE-2026-125208 FFmpeg - Out of Bounds Write

FFmpeg <= 9.0.2 contains an out-of-bounds write vulnerability caused by unchecked cumulative plane offsets in v4l2\_buffer\_swframe\_to\_buf() in libavcodec/v4l2\_buffers.c, letting attackers supply crafted video to write past mmaped driver buffer during V4L2 M2M encoding, exploit requires crafted video input.

CVSS base score 7.0 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.13% chance of exploitation in 30 days

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

## Details

Type

Out of Bounds Write

Impact

Remote Code Execution, Denial Of Service

CVSS vector

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

Published

9 November 2026

Updated

11 November 2026

Weakness

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

## Vendor fix

Update to a version later than 9.0.2 or the latest available version.

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-125208](https://nvd.nist.gov/vuln/detail/CVE-2026-125208)
- [https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-v4l2-m2m-encoder-out-of-bounds-write-in-v4l2-buffers-c](https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-v4l2-m2m-encoder-out-of-bounds-write-in-v4l2-buffers-c)
- [https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24328](https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24328)
- [https://github.com/FFmpeg/FFmpeg](https://github.com/FFmpeg/FFmpeg)
- [https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/v4l2\_buffers.c#L309](https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/v4l2_buffers.c#L309)
- [https://github.com/FFmpeg/FFmpeg/commit/b8f159858e2fd29dae4fa34d9e713bbf9bbf190e](https://github.com/FFmpeg/FFmpeg/commit/b8f159858e2fd29dae4fa34d9e713bbf9bbf190e)

[← 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)
