Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.8CVE-2026-135290

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

opencv opencv

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135290: medium-severity vulnerability (CVSS 6.8) in opencv opencv.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.8.

Affected products and versions

opencv opencv <= 4.14.0; opencv opencv >= 5.0.0, <= 5.1.0

ProductVersionsFixed in
opencv opencv<= 4.14.0—
opencv opencv>= 5.0.0, <= 5.1.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-835

Relevant change history

  1. Published

    Preliminary advisory published.