JLSEC-2026-2148: FFmpeg through 9.0.2 contains an out-of-bounds memory access vulnerability in the encode_frame()...

Published Dec 2, 2026
·
Updated

FFmpeg through 9.0.2 contains an out-of-bounds memory access vulnerability in the encodeframe() function of libavcodec/huffyuvenc.c, because encodeinit() never validates minimum frame dimensions for the median predictor. Attackers can supply a tiny video, such as a 2-pixel-wide or 1-2-pixel-tall frame, that causes negative submedianpred lengths and out-of-bounds reads and writes when transcoded to huffyuv or ffvhuff, crashing the encoder.

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 transcoding workflows are exposed?

Workflows that encode attacker-supplied video to the huffyuv or ffvhuff codecs are exposed. The affected code is in the encoder, so decoding or transcoding to other output codecs is not identified as affected by the provided data.

2

What input is needed to trigger the issue?

An attacker needs to supply a tiny video frame that is transcoded with the affected encoder. Examples include a frame that is 2 pixels wide or 1–2 pixels tall; no attacker privileges are required, but user interaction is required according to the supplied vector.

3

What happens if exploitation succeeds?

The malformed dimensions can produce negative median-predictor lengths, leading to out-of-bounds reads and writes in the encoder. The described outcome is an encoder crash, while the supplied severity vector indicates potential impact to confidentiality, integrity, and availability.

4

What can be done before patching?

Avoid encoding untrusted inputs to huffyuv or ffvhuff. If those codecs must be used, reject frames with very small dimensions before they reach the transcoding pipeline.

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