
OpenCV YAML Parser Infinite Loop Flaw Patches Released for 4.14.0 and 5.1.0
A medium-severity vulnerability, CVE-2026-135290, has been identified in OpenCV versions up to 4.14.0 and 5.0.0 through 5.1.0. The flaw exists in the YAMLParser::parse function, where crafted YAML files containing specific dash lines can trigger an infinite loop. This causes the application thread to hang at full CPU utilization, resulting in a denial of service. The issue requires user interaction to exploit and does not affect data confidentiality or integrity. Patches are available via GitHub pull requests and commits.