FFmpeg through 9.0.2 Memory Leak via libx265 Dolby Vision RPU Payloads
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 9, 2026
Description
FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/libx265.c because libx265_encode_frame() never frees the rpu.payload allocated by ff_dovi_rpu_generate(). Attackers can supply crafted Dolby Vision HEVC or AV1 files that leak one RPU allocation per encoded frame during libx265 transcoding, causing unbounded memory growth and denial of service.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | 7.1 through 9.0.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-401 Missing Release of Memory after Effective Lifetime
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25416Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/libx265.c#L880Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg through 9.0.2 Memory Leak via libx265 Dolby Vision RPU PayloadsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.