FFmpeg through 9.0.2 Heap Buffer Overflow via ProRes prores_ks Encoder
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 9, 2026
- Updated
- Nov 10, 2026
- Reserved
- Nov 9, 2026
Description
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | 9.0.2 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/proresenc_kostya_common.c#L286Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg through 9.0.2 Heap Buffer Overflow via ProRes prores_ks EncoderThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.