FFmpegのV4L2 M2Mエンコーダーに脆弱性、細工した動画で範囲外書き込みのおそれ
Summary
FFmpegのV4L2 M2Mエンコード処理に範囲外書き込みの脆弱性があり、細工された動画を処理すると、ドライバーのバッファ外に書き込まれるおそれがあります。影響するのは9.0.2までのFFmpegです。公表されてから日が浅く、修正版や悪用の情報は確認されていません。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FFmpegのV4L2 M2Mエンコード処理に範囲外書き込みの脆弱性があり、細工された動画を処理すると、ドライバーのバッファ外に書き込まれるおそれがあります。影響するのは9.0.2までのFFmpegです。公表されてから日が浅く、修正版や悪用の情報は確認されていません。最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
≤ 9.0.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125208 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125208 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg through 9.0.2 contains an out-of-bounds write vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c because cumulative plane offsets are not checked against the V4L2 buffer length. Attackers can supply crafted video whose dimensions or padding cause unsigned wraparound in v4l2_bufref_to_buf(), making memcpy() write past the mmaped driver buffer during V4L2 M2M encoding.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report code.ffmpeg.org
- web github.com
- web github.com
- web code.ffmpeg.org