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 CVSS 4.0 · 6.8 Medium EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse
First Time appeared Opencv
Opencv opencv
Weaknesses CWE-835
CPEs cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*
Vendors & Products Opencv
Opencv opencv
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 23, 2026, 4:57 PM
Reserved
Nov 23, 2026, 4:31 PM
Status
Received
Published
Nov 23, 2026, 5:17 PM
Modified
Nov 23, 2026, 5:17 PM