JLSEC-2026-2335: OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 contains an out-of-bounds read vulnerability...

Published Dec 3, 2026
·
Updated

OpenCV 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0 contains an out-of-bounds read vulnerability in the built-in MJPEG encoder when writing grayscale frames due to incorrect level shifting in convertToYUV(). Attackers controlling pixel content written as grayscale MJPEG video can trigger unchecked cattable and huffdctab lookups, leaking adjacent or uninitialized memory into the output file or crashing the process.

Affected Software

2 affected components
julia/opencv_cuda_jll*
julia/opencv_jll*

Event History

Dec 3, 2026
Advisory Published
via OSV·03:48 PM
Data Sourced
via OSV·03:48 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker needs to control pixel content that the application writes as grayscale MJPEG video using OpenCV's built-in MJPEG encoder. Exploitation also requires user interaction according to the supplied vector.

2

What is the practical impact on an affected application?

Malformed grayscale frame content can cause out-of-bounds table lookups during encoding. This may leak adjacent or uninitialized process memory into the generated video file or crash the process.

3

Which deployments should be prioritized for triage?

Prioritize applications using julia/opencv_cuda_jll or julia/opencv_jll that encode attacker-influenced grayscale frames to MJPEG. The affected OpenCV version ranges are 3.0.0 through 4.14.0 and 5.0.0 through 5.1.0.

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