JLSEC-2026-2178: FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the...
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 bitstreamindex triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.0.2+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.0.2+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker needs to cause an application to decode a crafted APAC file. The supplied CVSS vector indicates exploitation is local, requires low attack complexity, no privileges, and user interaction.
What is the likely impact if exploitation succeeds?
The crafted file can cause an integer overflow that bypasses a reallocation check, leading to a heap out-of-bounds write during memcpy(). This can corrupt heap memory or crash the application, with high confidentiality, integrity, and availability impact indicated by the severity vector.
Which affected package versions need to be updated?
Update FFmpeg versions earlier than 8.1.3, and FFmpeg 9.x versions earlier than 9.0.2. The listed affected Julia packages are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll.