FFmpegのsignalstatsフィルターに脆弱性、細工した動画でヒープ領域が壊される
Summary
FFmpegのsignalstatsフィルターに、ヒープ領域の範囲外に書き込んでしまう脆弱性が見つかりました。細工された9〜14ビットのYUV動画を処理すると、アプリケーションが異常終了するほか、任意のコードを実行される可能性があります。影響を受けるのは9.1より前のFFmpegで、修正版の9.1で対処できます。
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のsignalstatsフィルターに、ヒープ領域の範囲外に書き込んでしまう脆弱性が見つかりました。細工された9〜14ビットのYUV動画を処理すると、アプリケーションが異常終了するほか、任意のコードを実行される可能性があります。影響を受けるのは9.1より前のFFmpegで、修正版の9.1で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
< 9.1→ 9.1 |
9.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-135738 ffmpeg Fix available
- Debian DEBIAN-CVE-2026-135738 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135738 libav, ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg before 9.1 contains a heap out-of-bounds write vulnerability in libavfilter/vf_signalstats.c that allows attackers to corrupt heap memory by supplying high bit depth samples exceeding the nominal maximum. Attackers can craft planar 9 to 14 bit YUV video whose unclamped samples or saturation values index past histogram ends, crashing applications or possibly executing code.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- report code.ffmpeg.org
- web github.com
- web code.ffmpeg.org
- web github.com