JLSEC-2026-2146: FFmpeg through 9.0.2 contains an integer overflow in cbs_jpeg_write_scan() in libavcodec/cbs_jpeg...

Published Dec 2, 2026
·
Updated

FFmpeg through 9.0.2 contains an integer overflow in cbsjpegwritescan() in libavcodec/cbsjpeg.c that causes a heap buffer overflow on 32-bit builds. Attackers can supply a crafted MJPEG/JPEG stream with a scan of 512 MiB or more, processed by CBS bitstream filters like filterunits, to corrupt the heap or crash the application.

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

The issue affects julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll when they use vulnerable FFmpeg code on a 32-bit build. The vulnerable code is present through FFmpeg 9.0.2.

2

What must an attacker provide to trigger the overflow?

An attacker needs to cause the application to process a crafted MJPEG/JPEG stream containing a scan of at least 512 MiB. The stream must be handled by a CBS bitstream filter such as filter_units.

3

What is the practical impact if exploitation succeeds?

Processing the crafted stream can corrupt the heap or crash the application. The reported severity vector indicates potential impact to confidentiality, integrity, and availability.

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