{"id":"CVE-2026-135290","summary":"OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse","details":"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.","modified":"2026-11-24T21:01:51.751782417Z","published":"2026-11-23T16:57:48.880Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135290.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135290.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135290"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse"},{"type":"REPORT","url":"https://issues.oss-fuzz.com/issues/492921270"},{"type":"FIX","url":"https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40"},{"type":"FIX","url":"https://github.com/opencv/opencv/pull/31041"},{"type":"PACKAGE","url":"https://github.com/opencv/opencv"},{"type":"ARTICLE","url":"https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp#L797-L825"},{"type":"ARTICLE","url":"https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp#L820-L851"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opencv/opencv","events":[{"introduced":"0"},{"last_affected":"0654a42e19215ef25b1d367d822f3c630447e7c7"},{"introduced":"40738fb16ceddb5fb3fea747585f7ce6abb0605b"},{"fixed":"ede3313ae7157662b6c038adf758ad409cfedf40"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"4.14.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"5.0.0"},{"last_affected":"5.1.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ede3313ae7157662b6c038adf758ad409cfedf40"}]}]}}],"versions":["4.14.0","3.4.0-rc","3.3.0-rc","3.2.0-rc","2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135290.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}