CVE-2026-135290
OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse
Medium · 6.8
- CVSS
- 6.8
- EPSS
- 0.42% (p28)
- Published
- 2026-11-23
- Age
- 6d old
- Modified
- 2026-11-24
- Product
- opencv opencv
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
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.
Sources
- NVD · first seen 6d ago · NVD terms of use
- OSV · first seen 6d ago · CC-BY 4.0
- CVE List · first seen 6d ago · CVE Terms of Use
References
- https://github.com/opencv/opencv/pull/31041 issue-tracking
- https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40 patch
- https://issues.oss-fuzz.com/issues/492921270 issue-tracking
- https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp#L797-L825 technical-description
- https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp#L820-L851 technical-description
- https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135290.json advisory
- https://github.com/opencv/opencv package
- https://nvd.nist.gov/vuln/detail/CVE-2026-135290 advisory