Skip to content

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

MediumCVSS 6.8 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

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.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/opencv(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/opencv(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/opencv(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/opencv(Ubuntu 26.10) All versions No fix listed No fix yet
opencv <= 4.14.0; >= 5.0.0, <= 5.1.0 after 4.14.0, 5.1.0 Fixed

Affected products

ProductAffected versionsFixed in
opencv <= 4.14.0 No fix listed
opencv >= 5.0.0, <= 5.1.0 No fix listed
ubuntu/opencv(Ubuntu:22.04) All versions No fix listed
ubuntu/opencv(Ubuntu:24.04) All versions No fix listed
ubuntu/opencv(Ubuntu:26.04) All versions No fix listed
ubuntu/opencv(Ubuntu:26.10) All versions No fix listed

References