Infinite Loop Vulnerability in OpenCV YAML Parser by OpenCV
CVE-2026-135290

6.8MEDIUM

Key Information:

Vendor

Opencv

Status
Vendor
CVE Published:
23 November 2026

What is CVE-2026-135290?

OpenCV versions up to 4.14.0 and 5.0.0 through 5.1.0 are susceptible to an infinite loop vulnerability in the YAML parser. This issue arises when an attacker supplies specially crafted YAML files containing a non-separator '-' line after the first document, leading to an unresponsive state and potentially consuming full CPU resources. The vulnerability can be exploited to induce a denial of service by hanging the thread, making it critical for users to apply the necessary patches to prevent disruption.

Affected Version(s)

opencv 0 <= 4.14.0

opencv 5.0.0 <= 5.1.0

References

CVSS V4

Score:
6.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Pu Cheng
.