JLSEC-2026-2334: OpenCV through 4.14.0 and 5.0.0 through 5.1.0 contains an infinite loop vulnerability in...

Published Dec 3, 2026
·
Updated

OpenCV through 4.14.0 and 5.0.0 through 5.1.0 contains an infinite loop vulnerability in YAMLParser::parse that allows attackers to cause denial of service via crafted YAML dash lines. Attackers can supply YAML files with a non-separator '-' line after the first document, opened through cv::FileStorage, to hang the thread at full CPU.

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 to trigger the denial of service?

An attacker must be able to provide a crafted YAML file that the application opens through cv::FileStorage. The YAML must contain a non-separator '-' line after the first document, which causes YAMLParser::parse to loop and consume a CPU at full utilization.

2

Who is exposed in a Julia deployment?

Deployments using julia/opencv_cuda_jll or julia/opencv_jll are exposed when they process YAML input that can be influenced by an attacker. Exploitation requires user interaction in the form of opening or otherwise loading the crafted YAML through cv::FileStorage.

3

What can be done if an update is not immediately available?

Do not open untrusted YAML files through cv::FileStorage. Restrict YAML inputs to trusted sources and validate or reject files containing unexpected dash-prefixed lines after the first document before passing them to OpenCV.

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