CVE-2026-135741: FFmpeg before 9.1 Heap Out-of-Bounds Read via lut2 Filter

Published Nov 24, 2026
·
Updated

FFmpeg before 9.1 contains a heap out-of-bounds read vulnerability in libavfilter/vflut2.c because the second input's pixel format is unrestricted when the output depth option is set. Attackers can supply crafted media such as monoblack BMP or PBM images to index beyond lookup tables, crashing applications or leaking heap contents into output video.

Affected Software

1 affected component
FFmpeg FFmpeg<9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FFmpeg to a version that resolves this vulnerability.

    Fixed in 9.1

Event History

Nov 24, 2026
CVE Published
via MITRE·03:13 AM
Data Sourced
via MITRE·03:13 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using FFmpeg versions before 9.1 are affected when they process attacker-controlled media through the lut2 filter with the output depth option set. The issue is locally exploitable and requires user interaction, such as processing a crafted media file.

2

What does an attacker need to provide to trigger the flaw?

An attacker needs to supply crafted media that becomes the second input to the lut2 filter. Monoblack BMP or PBM images are cited as examples that can cause lookup-table indexes to go out of bounds when the output depth option is set.

3

What is the likely impact if exploitation succeeds?

The out-of-bounds read can crash the application, causing a denial of service. It may also leak heap contents into generated output video, exposing limited confidential data.

4

How can I determine whether my workflow is affected?

Check whether the FFmpeg version is earlier than 9.1 and whether any media-processing pipeline uses the lut2 filter with its output depth option set. Workflows that accept untrusted files as the second lut2 input warrant particular review.

5

What can be done before upgrading?

Avoid processing untrusted media as the second input to lut2 when the output depth option is set. Where that cannot be avoided, restrict accepted input formats and isolate the media-processing process to limit the impact of crashes or output-data disclosure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203