JLSEC-2026-2228: FFmpeg before commit acf5d7c contains a heap buffer overflow in the hvcC box writer. When writing...
FFmpeg before commit acf5d7c contains a heap buffer overflow in the hvcC box writer. When writing an HEVC configuration record with more NAL units of a single type than the count field can represent, the NAL unit count overflows, causing a heap buffer overflow. A crafted HEVC input file triggers the overflow during muxing.
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.1+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.0.1+0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch acf5d7c
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are affected?
Deployments using julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll are affected if their bundled FFmpeg predates commit acf5d7c.
What must occur for exploitation?
An attacker needs to provide a crafted HEVC input file that is processed during muxing. The file must contain more NAL units of one type than the HEVC configuration record's count field can represent.
How can I determine whether my environment is exposed?
Identify the FFmpeg revision bundled with the installed package and determine whether it includes commit acf5d7cdc1f9ae8752c23e1ea8d7f355ed780781. Systems that mux untrusted HEVC inputs are the relevant exposure path.