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.
Metrics
CVSS 3.1 4.7/10
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | >= 9.0, <= 9.0.2 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408Issue Tracking, Patch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/decode.c#L1660Patch
- https://github.com/FFmpeg/FFmpeg/commit/60b286521b46caa09792af04c6a4e3437aac8293Patch
- https://www.vulncheck.com/advisories/ffmpeg-9.0-through-9.0.2-memory-exhaustion-via-lcevc-enhancement-dimensionsThird Party Advisory
Timeline
- Published
- Nov 9, 2026
- Last modified
- Nov 25, 2026
- NVD status
- Analyzed