CVE-2026-145314
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ffmpeg | ffmpeg | {"endExcluding":"6.1.7"} | 6.1.7 |
| ffmpeg | ffmpeg | {"startIncluding":"7.0","endExcluding":"7.1"} | 7.1 |
| ffmpeg | ffmpeg | {"startIncluding":"7.1","endExcluding":"7.1.6"} | 7.1.6 |
| ffmpeg | ffmpeg | {"startIncluding":"8.0","endExcluding":"8.0.4"} | 8.0.4 |
| ffmpeg | ffmpeg | {"startIncluding":"8.1","endExcluding":"8.1.4"} | 8.1.4 |
| ffmpeg | ffmpeg | {"startIncluding":"9.0","endExcluding":"9.0.3"} | 9.0.3 |
References
CWEs
CWE-672 CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.