Out-of-bounds Read Affecting ffmpeg package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (29th 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-CONAN-FFMPEG-22840892
  • published24 Nov 2026
  • disclosed24 Nov 2026
  • creditJoshua Rogers (AISLE Research)

Introduced: 24 Nov 2026

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the query_formats function in the lut2 filter in libavfilter/vf_lut2.c. When the output depth option is set, an attacker can supply crafted media such as a monoblack BMP or PBM image as the second input, whose pixel format is unrestricted. Processing it makes the filter read beyond its lookup tables, crashing the application or exposing heap contents in the output video.

Notes

  • The vulnerable query_formats branch is reached only when s->odepth is set and s->tlut2 is false; when s->tlut2 is true, it returns through a different format-selection path.

CVSS Base Scores

version 4.0
version 3.1