1. Home
  2. Vulnerabilities
  3. CVE-2026-135290

CVE-2026-135290

OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse

Published 23 Nov 2026 · modified 23 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 32/100

Summary

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 products and versions

Opencv (2 line(s))
Opencv
ProductVersionsFixed inSource
Opencv up to 4.14.0 (included) — CNA (vendor or assigner)
Opencv from 5.0.0 (included) to 5.1.0 (included) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-835 · Autre (CWE-835)

How this data is obtained and calculated