{"id":"CVE-2026-135290","aliases":["CVE-2026-135290"],"related":[],"kind":"vulnerability","state":"published","title":"OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-23T16:57:48.880Z","modified":"2026-11-23T17:17:52.497Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.14.0","status":"affected"},{"type":"semver","introduced":"5.0.0","lastAffected":"5.1.0","status":"affected"}],"vendor":"opencv","product":"opencv","repo":"https://github.com/opencv/opencv","source":"cvelist"}],"references":[{"url":"https://github.com/opencv/opencv/pull/31041","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://issues.oss-fuzz.com/issues/492921270","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp#L797-L825","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp#L820-L851","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Pu Cheng"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135290","url":"https://www.cve.org/CVERecord?id=CVE-2026-135290","licence":"CVE Terms of Use","modified":"2026-11-23T16:57:48.880Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135290","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135290","licence":"Public domain","modified":"2026-11-23T17:17:52.497Z"}],"updatedAt":"2026-11-25T22:59:52.675Z","epss":{"score":0.00417,"percentile":0.38037,"date":"2026-12-01T12:00:22.000Z"}}