JLSEC-2026-2137: FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in the APNG encoder's...

Published Dec 2, 2026
·
Updated

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

2 affected componentsFixes available
julia/ffmpeg_jll<9.1.0+0
9.1.0+0
julia/ffmpeg_nogpl_jll<9.1.0+0
9.1.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/FFMPEG_jll to a version that resolves this vulnerability.

    Fixed in 9.1.0+0
  2. Upgrade

    Upgrade julia/FFMPEG_nogpl_jll to a version that resolves this vulnerability.

    Fixed in 9.1.0+0

Event History

Dec 2, 2026
Advisory Published
via OSV·09:05 PM
Data Sourced
via OSV·09:05 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203