JLSEC-2026-2137: FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in the APNG encoder's...
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in the APNG encoder's encodeapng() function in libavcodec/pngenc.c when frame size changes mid-stream. Attackers can supply crafted media whose resolution grows mid-stream, causing APNGDISPOSEOPBACKGROUND memset writes past prevframe and crashing or corrupting heap memory in transcoding applications.
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 deployments are most exposed?
Deployments using julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll for transcoding attacker-controlled media are the relevant exposure. The affected behavior is in the APNG encoder.
What conditions are required for exploitation?
An attacker must supply crafted media with a resolution that grows mid-stream. The CVSS vector indicates local access and user interaction are required, while no privileges are required.
What impact can successful exploitation have?
The out-of-bounds memset can crash the transcoding application or corrupt heap memory. The reported severity vector rates confidentiality, integrity, and availability impacts as high.