JLSEC-2026-2232: FFmpeg before 9.0 has a signed integer overflow in libavformat/mov.c. In mov_read_ispe(),...
FFmpeg before 9.0 has a signed integer overflow in libavformat/mov.c. In movreadispe(), uint32t width/height values from a crafted HEIF ispe box are stored into signed int fields without bounds checking, allowing values exceeding INTMAX to become negative. In readimagegrid(), accumulating these values causes signed integer overflow (undefined behavior per C17 section 6.5), which on x86 wraps to a small positive value, bypassing downstream validity checks.
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.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.0.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What does an attacker need to exploit this issue?
An attacker needs the ability to supply or cause processing of a crafted HEIF image containing ispe box width or height values greater than INT_MAX. The vulnerable parsing path is in mov_read_ispe() and read_image_grid().
Which deployments are exposed?
Deployments using julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll with an FFmpeg version before 9.0 are affected when they process attacker-controlled HEIF content. The vulnerability has local attack vector and low privileges in the provided severity vector.
What should be done if an immediate upgrade is not possible?
Avoid processing untrusted HEIF files, particularly HEIF image grids, until FFmpeg can be updated to version 9.0 or later. Validate or reject HEIF inputs with oversized ispe width or height values before they reach FFmpeg.