Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cp
- https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp
- https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40
- https://github.com/opencv/opencv/pull/31041
- https://issues.oss-fuzz.com/issues/492921270
- https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1
FAQ
What is CVE-2026-135290?
CVE-2026-135290 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 s...
How severe is CVE-2026-135290?
CVE-2026-135290 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-135290?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.