CVE-2026-145314
FFmpeg MPEG-1/2 Video Decoder Heap Out-of-Bounds Write
Description
A heap out-of-bounds write exists in the MPEG-1/2 video decoder (libavcodec/mpeg12dec.c) in FFmpeg before 6.1.7, 7.1.6, 8.0.4, 8.1.4, 9.0.3, and 9.1. When slice threading is enabled (the ffmpeg command-line default on multi-core hosts), a slice-decoding job queued while the decoder parses a codec's extradata is not flushed before the first packet is decoded, so it runs with mismatched field/frame picture geometry and writes inverse-DCT output -- with byte values controlled by the input -- past the end of the allocated luma and chroma planes. Processing a crafted MPEG-1/2 file (e.g. in an AVI, Matroska, or MP4 container) therefore corrupts heap memory.
INFO
Published Date :
Dec. 4, 2026, 7:04 p.m.
Last Modified :
Dec. 4, 2026, 7:04 p.m.
Remotely Exploit :
No
Source :
Anthropic
Solution
- Update FFmpeg to version 6.1.7, 7.1.6, 8.0.4, 8.1.4, 9.0.3, or 9.1.
- Apply relevant patches if updating FFmpeg is not possible.
- Ensure slice threading is disabled if unable to update.
- Validate input files for integrity.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-145314 vulnerability anywhere in the article.