FFmpegのAPACデコーダーに脆弱性、細工したファイルでヒープ破壊のおそれ
Summary
FFmpegのAPACデコーダーに、ヒープ領域の範囲外への書き込みが起きる脆弱性が見つかりました。細工したAPACファイルを読み込ませると、メモリが壊れてアプリケーションが異常終了するおそれがあります。影響するのは8.1.3より前の8系と9.0.2より前の9.0系で、修正版の8.1.3および9.0.2で対応できます。
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のAPACデコーダーに、ヒープ領域の範囲外への書き込みが起きる脆弱性が見つかりました。細工したAPACファイルを読み込ませると、メモリが壊れてアプリケーションが異常終了するおそれがあります。影響するのは8.1.3より前の8系と9.0.2より前の9.0系で、修正版の8.1.3および9.0.2で対応できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
< 8.1.3→ 8.1.3 ≥ 9.0, < 9.0.2→ 9.0.2 |
8.1.3 9.0.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125267 ffmpeg Fix available
- Ubuntu UBUNTU-CVE-2026-125267 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstream_index triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes 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