FFmpegの脆弱性、細工した動画で遠隔からコードを実行されるおそれ
Summary
FFmpegのhap_parse_frame_header()に整数オーバーフローの脆弱性があり、32ビット版のビルドでヒープバッファオーバーフローが起きます。細工したHap動画フレームを処理するとアプリケーションが停止するほか、コードが実行されるおそれもあります。影響を受けるのは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のhap_parse_frame_header()に整数オーバーフローの脆弱性があり、32ビット版のビルドでヒープバッファオーバーフローが起きます。細工したHap動画フレームを処理するとアプリケーションが停止するほか、コードが実行されるおそれもあります。影響を受けるのは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.
- Alpine Linux ALPINE-CVE-2026-125222 ffmpeg Fix available
- Debian DEBIAN-CVE-2026-125222 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125222 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in libavcodec/hapdec.c that allows attackers to trigger a heap buffer overflow on 32-bit builds. Attackers can craft Hap video frames with Snappy length prefixes that wrap tex_size, causing decompress_chunks_thread() to write outside tex_buf and crash the application or potentially execute code.
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