Description
FFmpeg through 9.0.2 contains a reference count leak in libavcodec/v4l2_buffers.c that allows attackers to deadlock the V4L2 mem2mem decoder on multi-plane capture formats. Attackers can supply crafted H.264, HEVC, or VP9 streams with resolution changes, making ff_v4l2_m2m_codec_reinit() wait forever and hang the decoding application.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | <= 9.0.2 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25682Issue Tracking, Patch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/v4l2_buffers.c#L274Product
- https://github.com/FFmpeg/FFmpeg/commit/4d2d58efa9b9f3802893b1db0ea1edfbe1cc66efPatch
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-v4l2-m2m-decoder-deadlock-via-reference-count-leakThird Party Advisory
Timeline
- Published
- Nov 9, 2026
- Last modified
- Nov 25, 2026
- NVD status
- Analyzed