FFmpeg through 9.0.2 V4L2 M2M Decoder Deadlock via Reference Count Leak
- State
- Published
- Severity
- 5.7 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 9, 2026
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | 9.0.2 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | VulnCheck | |
| 3.1 | 4.7 Medium | VulnCheck |
Weaknesses
- CWE-911 Improper Update of Reference Count
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25682Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/v4l2_buffers.c#L274Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg through 9.0.2 V4L2 M2M Decoder Deadlock via Reference Count LeakThird-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.