CVE-2026-137076 in FFmpeginfo

Summary

by MITRE • 11/25/2026

FFmpeg through 9.1 contains an information disclosure vulnerability because avcodec_flush_buffers() does not release the decoder context's frame buffer pool, so recycled buffers retain prior picture data. Attackers can supply crafted damaged streams to applications reusing one decoder context across users to recover another user's decoded picture content from unwritten frame regions.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in FFmpeg versions through 9.1 represents a significant information disclosure risk rooted in improper memory management within the video decoding subsystem. Specifically, the flaw resides in the behavior of the avcodec_flush_buffers() function, which is designed to reset decoder state and prepare it for subsequent streams without fully destroying the underlying context. In this implementation, while the logical state of the decoder is cleared, the physical frame buffer pool associated with that context is not properly released or zeroed out. This oversight means that memory regions allocated for storing decoded video frames retain their previous contents even after they are marked as available for reuse by new decoding operations.

From a technical perspective, this behavior creates a classic use-after-free style information leak scenario where previously written data persists in memory locations that subsequent processes believe to be empty or uninitialized. When an application reuses a single decoder context across multiple users or sessions, the recycling of these frame buffers allows residual data from prior decoding tasks to remain accessible. If the new stream being decoded does not fully overwrite every pixel region within the allocated buffer space due to structural differences in video dimensions, compression artifacts, or specific codec behaviors, the untouched portions will contain sensitive information from previous operations rather than null values or random noise.

The operational impact of this vulnerability is severe for applications that handle untrusted input while maintaining persistent decoder contexts. Attackers can exploit this by supplying crafted damaged streams designed to trigger partial buffer usage patterns. By analyzing the output frames produced during such decoding sessions, an attacker may be able to reconstruct fragments of previously decoded video content belonging to other users or prior sessions within the same application instance. This constitutes a direct violation of confidentiality principles and aligns with CWE-200, which categorizes this as Information Exposure through Unintended Memory Disclosure.

This vulnerability maps directly to MITRE ATT&CK technique T1537, specifically under the subtechnique for Data from Local System Exfiltration via Undocumented or Non-standard Protocols if leveraged in networked scenarios, but more accurately fits within general data exfiltration patterns involving memory scraping. It highlights a critical failure in secure coding practices regarding resource lifecycle management and buffer sanitization. The persistence of sensitive visual data across session boundaries undermines the isolation guarantees expected by multi-tenant applications or services processing multiple video streams concurrently.

Mitigation strategies must focus on ensuring that all allocated frame buffers are explicitly zeroed out before being returned to the pool for reuse, regardless of whether they have been logically flushed via standard API calls. Developers should enforce strict memory hygiene protocols where every byte in a recycled buffer is initialized to neutral values prior to any new decoding operation. Additionally, applications should consider isolating decoder contexts per user session or input source rather than sharing them across different trust boundaries whenever possible. Upgrading to patched versions of FFmpeg that address this specific oversight in the flush mechanism is essential for maintaining data confidentiality and preventing unauthorized access to residual video content stored within application memory spaces.

Responsible

VulnCheck

Reservation

11/25/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00198

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!