FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()

State
Published
Severity
6.9 Medium
Published
Nov 24, 2026
Updated
Nov 24, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

Description

FFmpeg before 9.1 contains an integer overflow vulnerability in the split_planes size check of write_packet() in libavformat/img2enc.c that allows out-of-bounds heap reads. Attackers can supply a crafted input whose rawvideo stream declares very large width and height, remuxed into .y image files, to leak heap memory into output files or crash the application.

ProductVersions
FFmpeg FFmpegbefore 9.1 Affected

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.