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.

Project Subscriptions

Vendors Products
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 23 Nov 2026 17:15:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-23T16:57:48.880Z

Reserved: 2026-11-23T16:31:26.160Z

Link: CVE-2026-135290

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-23T17:17:52.497

Modified: 2026-11-23T17:17:52.497

Link: CVE-2026-135290

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses