JLSEC-2026-2131: FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/videotoolboxenc...
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/videotoolboxenc.c that copies frames larger than encoder dimensions into undersized CVPixelBuffers. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with VideoToolbox encoders without rescaling, to crash the application or corrupt memory.
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.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which processing paths are exposed?
The affected path is transcoding with VideoToolbox encoders when frames larger than the encoder dimensions are processed without rescaling. Inputs whose resolution grows mid-stream can trigger the issue.
What does an attacker need to provide?
An attacker needs to supply crafted input that causes the frame resolution to increase during processing. The vulnerable application must transcode that input using a VideoToolbox encoder without rescaling it to the encoder dimensions.
How can exposure be reduced before an update is available?
Avoid VideoToolbox transcoding of inputs that can change to larger frame dimensions mid-stream unless frames are rescaled to the encoder dimensions. This prevents larger frames from being copied into undersized CVPixelBuffers.
Which listed software should be reviewed?
Review deployments using julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll that include FFmpeg through version 9.0.2. The issue is in libavcodec/videotoolboxenc.c.