---
title: "CVE-2026-125259: FFmpeg - Integer Overflow"
description: "FFmpeg <= 9.0.2 contains an integer overflow caused by miscalculation of frame_size_upper_bound in ff_prores_kostya_encode_init(), letting attackers cause heap memory corruption via crafted high-resolution ProRes video, exploit requires crafted video input."
url: https://panop.io/threat-heartbeat/CVE-2026-125259/
---

# CVE-2026-125259 FFmpeg - Integer Overflow

FFmpeg <= 9.0.2 contains an integer overflow caused by miscalculation of frame\_size\_upper\_bound in ff\_prores\_kostya\_encode\_init(), letting attackers cause heap memory corruption via crafted high-resolution ProRes video, exploit requires crafted video input.

CVSS base score 7.8 /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-125259)

## Details

Type

Integer Overflow

Impact

Remote Code Execution

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-190](https://cwe.mitre.org/data/definitions/190.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-125259](https://nvd.nist.gov/vuln/detail/CVE-2026-125259)
- [https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573](https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573)
- [https://github.com/FFmpeg/FFmpeg](https://github.com/FFmpeg/FFmpeg)
- [https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/proresenc\_kostya\_common.c#L286](https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/proresenc_kostya_common.c#L286)
- [https://github.com/FFmpeg/FFmpeg/commit/439b452f9fe916a9f7d8788ab6afee8fac846b0b](https://github.com/FFmpeg/FFmpeg/commit/439b452f9fe916a9f7d8788ab6afee8fac846b0b)
- [https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-prores-prores-ks-encoder](https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-prores-prores-ks-encoder)

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