CVE-2026-135290: OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse

Published Nov 23, 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

1 affected component
OpenCV Opencv<=4.14.0, >=5.0.0<=5.1.0

Event History

Nov 23, 2026
CVE Published
via MITRE·04:57 PM
Data Sourced
via MITRE·04:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who is exposed to this issue?

Applications that use cv::FileStorage to open YAML files are exposed when an attacker can influence the YAML content. The impact is a thread hang at full CPU, resulting in denial of service.

2

What input is required to trigger the hang?

The attacker must supply a crafted YAML file containing a non-separator '-' line after the first document. Exploitation requires a user or application to open that file through cv::FileStorage.

3

Is user interaction required?

Yes. The provided severity vector indicates user interaction is required, and the crafted YAML must be opened through cv::FileStorage.

4

Which OpenCV versions are affected?

The affected versions are OpenCV through 4.14.0 and versions 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