JLSEC-2026-2160: FFmpeg through 9.0.2 contains a memory leak vulnerability in ff_mjpeg_decode_sof() in libavcodec...

Published Dec 2, 2026
·
Updated

FFmpeg through 9.0.2 contains a memory leak vulnerability in ffmjpegdecodesof() in libavcodec/mjpegdec.c, which overwrites the hwaccelpictureprivate pointer without freeing it. Attackers can supply crafted MJPEG streams with repeated SOF markers or failing frames to leak hwaccel private data and hardware buffers under VAAPI or NVDEC decoding.

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 to this issue?

Deployments that decode attacker-controlled MJPEG streams using VAAPI or NVDEC hardware acceleration are the affected scenario described. The issue can leak hardware-acceleration private data and hardware buffers.

2

What must an attacker provide to trigger the leak?

An attacker needs to cause decoding of a crafted MJPEG stream containing repeated SOF markers or frames that fail during decoding. The supplied CVSS vector indicates local attack access and user interaction are required.

3

How can I assess whether a system may be affected?

Check whether the deployment uses julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll with FFmpeg through 9.0.2, and whether MJPEG decoding is performed with VAAPI or NVDEC enabled. Review workloads for untrusted or externally supplied MJPEG input.

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