cvelo
P2 · HighCVSS 7.2

CVE-2026-145314

  • CVE-2026-145314
  • EUVD-2026-144581

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.

Text from the CVE.org record.

Recommendation

  • FFmpeg

    • If you run 9.0.xupdate to 9.0.3 or laterPatch update: breaking changes are unlikely
    • If you run 8.1.xupdate to 8.1.4 or laterPatch update: breaking changes are unlikely
    • If you run 8.0.xupdate to 8.0.4 or laterPatch update: breaking changes are unlikely
    • If you run a version from 7.0 to before 7.1update to 7.1.6 or laterMinor version change: check the release notes
    • If you run 7.1.xupdate to 7.1.6 or laterPatch update: breaking changes are unlikely
    • If you run a version before 6.1.7update to 6.1.7 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • FFmpeg

    Affected versionsFixed in
    from 9.0 to before 9.0.39.0.3
    from 8.1 to before 8.1.48.1.4
    from 8.0 to before 8.0.48.0.4
    from 7.0 to before 7.17.1.6
    from 7.1 to before 7.1.67.1.6
    before 6.1.76.1.7

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.