Out-of-bounds Read Affecting ffmpeg package, versions [,9.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FFMPEG-22840832
  • published24 Nov 2026
  • disclosed24 Nov 2026
  • creditJoshua Rogers (AISLE Research)

Introduced: 24 Nov 2026

NewCVE-2026-135712  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the write_packet() function in libavformat/img2enc.c. An attacker can supply a crafted rawvideo stream with very large dimensions and have it remuxed to split-plane .y image files; the size check overflows, causing out-of-bounds heap reads that leak memory into the output files or crash FFmpeg.

CVSS Base Scores

version 4.0
version 3.1