CVE-2026-8461 PUBLISHED

Heap out-of-bounds write via odd slice_height in FFmpeg MagicYUV decoder

Assigner: JFROG
Reserved: 13.05.2026 Published: 18.06.2026 Updated: 18.06.2026

An out-of-bounds write vulnerability in FFmpeg's libavcodec library, specifically in the MagicYUV decoder, allows denial-of-service and, in some cases, can be exploited for remote code execution.

This vulnerability is associated with the file libavcodec/magicyuv.C.

This issue affects FFmpeg before version 8.1.2.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 8.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Product Status

Vendor FFmpeg
Product FFmpeg
Versions Default: unaffected
  • affected from 0 to 8.1.2 (excl.)

References

Problem Types

  • CWE-787 Out-of-bounds write CWE

Impacts

  • CAPEC-100 Overflow Buffers
  • CAPEC-123 Buffer Manipulation
  • CAPEC-586 Object Injection