CVE-2026-135290
OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-835 |
| Vendor | opencv |
| Product | opencv |
| Published | Nov 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for opencv opencv
Be the first to know when new medium vulnerabilities affecting opencv opencv are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
opencv / opencv
0 โค 4.14.0 5.0.0 โค 5.1.0
References
github.com: https://github.com/opencv/opencv/pull/31041 github.com: https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40 issues.oss-fuzz.com: https://issues.oss-fuzz.com/issues/492921270 github.com: https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp#L797-L825 github.com: https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp#L820-L851 vulncheck.com: https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse
Credits
Pu Cheng