CVE-2026-125259

FFmpeg through 9.0.2 contains an integer overflow vulnerability in ff_prores_kostya_encode_init() that miscalculates frame_size_upper_bound using 32-bit arithmetic for large frame dimensions. Attackers can supply a high-resolution video transcoded with the prores_ks encoder, causing encode_frame() to write slices past an undersized packet buffer and corrupt heap memory.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

25 Nov 2026, 15:09

Type Values Removed Values Added
First Time Ffmpeg ffmpeg
Ffmpeg
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573 - Issue Tracking, Patch
References () https://github.com/FFmpeg/FFmpeg - () https://github.com/FFmpeg/FFmpeg - Product
References () 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 - Patch
References () https://github.com/FFmpeg/FFmpeg/commit/439b452f9fe916a9f7d8788ab6afee8fac846b0b - () https://github.com/FFmpeg/FFmpeg/commit/439b452f9fe916a9f7d8788ab6afee8fac846b0b - Patch
References () 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 - Third Party Advisory

09 Nov 2026, 20:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-09 20:18

Updated : 2026-11-25 15:09


NVD link : CVE-2026-125259

Mitre link : CVE-2026-125259

CVE.ORG link : CVE-2026-125259


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-190

Integer Overflow or Wraparound