JLSEC-2026-2168: FFmpeg through 9.0.2 contains a use after free vulnerability in libavcodec/mjpegdec.c that allows...

Published Dec 2, 2026
·
Updated

FFmpeg through 9.0.2 contains a use after free vulnerability in libavcodec/mjpegdec.c that allows attackers to trigger freed buffer reads by sending a SOF marker without a preceding SOI. Attackers can supply crafted MJPEG streams causing ffmjpegdecodesof() to pass a stale rawimagebuffer pointer to hwaccel decoders like NVDEC, crashing applications or leaking heap contents.

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

What conditions are required to trigger this issue?

An attacker must be able to provide a crafted MJPEG stream containing a SOF marker without a preceding SOI marker. Exploitation also depends on the application decoding that stream through an affected FFmpeg build and a hardware-acceleration decoder such as NVDEC receiving the stale buffer pointer.

2

What could happen if an affected application processes a malicious stream?

The crafted stream can cause freed-buffer reads through a stale raw_image_buffer pointer. This may crash the application or disclose heap contents.

3

Which packaged software entries are identified as affected?

The affected software entries are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll. The issue is described as affecting FFmpeg through version 9.0.2.

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