FFmpeg 9.0 through 9.0.2 Memory Exhaustion via LCEVC Enhancement Dimensions
- State
- Published
- Severity
- 5.7 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 9, 2026
Description
FFmpeg 9.0 through 9.0.2 built with liblcevc_dec fails to validate LCEVC enhanced output dimensions against max_pixels in libavcodec/decode.c before frame allocation. Attackers can supply crafted H.264, HEVC or VVC streams declaring huge LCEVC resolutions to force oversized get_buffer2() allocations and exhaust memory.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | 9.0 through 9.0.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | VulnCheck | |
| 3.1 | 4.7 Medium | VulnCheck |
Weaknesses
- CWE-789 Memory Allocation with Excessive Size Value
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/decode.c#L1660Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg 9.0 through 9.0.2 Memory Exhaustion via LCEVC Enhancement DimensionsThird-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.