CVE-2026-145314

HIGHCVSS 7.2/10

Last modified

CVE-2026-145314 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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.

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.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
FFmpegFFmpeg< 6.1.7; >= 7.0, < 7.1; >= 7.1, < 7.1.6; >= 8.0, < 8.0.4; >= 8.1, < 8.1.4; >= 9.0, < 9.0.3

References

Timeline

Published
Last Modified
Status
Awaiting Analysis

Frequently Asked Questions

What is CVE-2026-145314?
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.
How severe is CVE-2026-145314?
CVE-2026-145314 has a CVSS score of 7.2/10 (HIGH severity).
How do I fix CVE-2026-145314?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-145314?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST