CVE-2026-137908: FFmpeg 7.1 before 9.1 Memory Leak via libsvtav1 Dolby Vision Encoding
FFmpeg 7.1 before 9.1 contains a memory leak vulnerability in ebreceivepacket() in libavcodec/libsvtav1.c that returns without unreferencing the queued input frame when ebsendframe() 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 avframemoveref() in builds with assertions enabled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FFmpegto a version that resolves this vulnerability.Fixed in 9.1
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using FFmpeg versions from 7.1 before 9.1 are exposed when performing SVT-AV1 encoding with Dolby Vision RPU coding enabled. The affected path involves libsvtav1.c.
What input is needed to trigger the problem?
An attacker must be able to supply video for encoding and include frames that lack Dolby Vision metadata. The issue is triggered when eb_send_frame() fails while processing that input.
What is the impact in assertion-enabled builds?
In builds with assertions enabled, the condition can abort in av_frame_move_ref(). Otherwise, rejected frames can retain their buffers, causing memory to leak for each affected frame.