CVE-2026-137908 in FFmpeginfo

Summary

by MITRE • 11/27/2026

FFmpeg 7.1 before 9.1 contains a memory leak vulnerability in eb_receive_packet() in libavcodec/libsvtav1.c that returns without unreferencing the queued input frame when eb_send_frame() fails. Attackers can supply crafted video in which some frames lack Dolby Vision metadata to an SVT-AV1 encode with Dolby Vision RPU coding enabled, leaking each rejected frame's buffers or aborting in av_frame_move_ref() in builds with assertions enabled.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified in FFmpeg versions prior to 9.1 represents a significant resource management flaw within the SVT-AV1 encoder implementation, specifically located in the eb_receive_packet function of libavcodec/libsvtav1.c. This component is responsible for handling the flow of video frames through the encoding pipeline, particularly when dealing with complex metadata structures such as those required by Dolby Vision RPU coding. The core technical flaw arises from an improper error handling mechanism where the software fails to release memory resources associated with input frames that are rejected during processing. When eb_send_frame encounters a failure condition, typically triggered by malformed or incomplete data inputs, it returns without invoking the necessary unreference operations for queued input frames. This oversight results in a progressive accumulation of unreleased memory allocations as each problematic frame is processed and discarded rather than properly cleaned up.

The operational impact of this vulnerability manifests primarily through resource exhaustion leading to denial of service conditions. Attackers can exploit this flaw by supplying crafted video files that contain specific structural anomalies, notably frames lacking the required Dolby Vision metadata while operating in an encoding mode that expects such data. As FFmpeg processes these malformed inputs with Dolby Vision RPU coding enabled, it repeatedly fails to send the frame correctly and consequently leaks the memory buffers associated with each rejected frame. In standard builds without assertion checks, this leads to a gradual increase in memory consumption which can eventually exhaust system resources, causing the application or service relying on FFmpeg to crash or become unresponsive. For development or debug builds where assertions are enabled, the failure may result in an immediate abort via av_frame_move_ref due to violated internal state assumptions, providing a more abrupt but equally disruptive denial of service vector.

From a classification perspective, this vulnerability aligns with CWE-401, which describes missing release of memory after effective usage, and falls under the broader category of improper resource cleanup often seen in complex multimedia processing libraries. The attack pattern involves crafting specific input data to trigger error paths that bypass standard lifecycle management routines, a technique consistent with ATT&CK tactics related to resource hijacking or denial of service through application logic exploitation. The reliance on external metadata structures like Dolby Vision RPU adds complexity to the validation process, creating opportunities for attackers to craft inputs that satisfy initial parsing checks but fail during deeper encoding stages where reference counting is critical.

Mitigation strategies must focus primarily on updating FFmpeg to version 9.1 or later, as this release addresses the specific logic error in eb_receive_packet by ensuring proper unreference calls are executed even when frame transmission fails. For environments unable to update immediately, implementing strict input validation at the ingestion layer can help filter out malformed video streams before they reach the SVT-AV1 encoder module. Additionally, deploying monitoring solutions that track memory usage patterns of encoding processes can provide early detection of abnormal resource consumption indicative of this leak. Developers integrating FFmpeg should also ensure that their applications handle potential crashes gracefully and consider using sandboxed environments for processing untrusted media content to limit the blast radius of any successful exploitation attempts.

Responsible

AISLE

Reservation

11/27/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!