FFmpegのEXRエンコーダーに脆弱性、細工した入力でヒープ領域が壊される
Summary
FFmpegのEXRエンコーダー(libavcodec/exrenc.c)に、ヒープバッファオーバーフローの脆弱性が見つかりました。途中で解像度が変わる細工された入力をRLE圧縮のOpenEXRに変換すると、ヒープ領域のメモリが壊れてアプリケーションがクラッシュするおそれがあります。影響は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のEXRエンコーダー(libavcodec/exrenc.c)に、ヒープバッファオーバーフローの脆弱性が見つかりました。途中で解像度が変わる細工された入力をRLE圧縮のOpenEXRに変換すると、ヒープ領域のメモリが壊れてアプリケーションがクラッシュするおそれがあります。影響は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-125260 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125260 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/exrenc.c that allows attackers to corrupt heap memory when encode_scanline_rle() processes frames taller than the encoder height. Attackers can supply crafted input whose resolution grows mid-stream, transcoded to OpenEXR with RLE compression, to write pointers past the scanline array and crash the application.
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