{"schemaVersion":4,"id":"CVE-2026-135290","aliases":["UBUNTU-CVE-2026-135290","CGA-8f9m-4x94-q84h","CGA-9m96-7fq3-m32q","CGA-7h85-cr8v-rr9f","CGA-2cg3-2624-vqwf","CGA-7w2r-7648-fvx9","CGA-p2vw-77q8-hm5r"],"status":"published","duplicateOf":null,"title":"OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse","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.","dates":{"published":"2026-11-23T16:57:48.880Z","modified":"2026-11-23T16:57:48.880Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.8,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00417,"percentile":0.38026,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-24T00:00:00.000Z","score":0.00172,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00172,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00417,"percentile":0.38026}],"last30":[{"date":"2026-11-24T00:00:00.000Z","score":0.00172,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00172,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00417,"percentile":0.38026}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"chainguard","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opencv","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"opencv-dev","name":"opencv-dev","label":"opencv-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opencv-dev","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"opencv-libs","name":"opencv-libs","label":"opencv-libs","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opencv-libs","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/opencv","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opencv","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opencv","product":"opencv","name":"OpenCV","label":"opencv","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.14.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.14.0","endInclusive":true}},{"text":"≥ 5.0.0, ≤ 5.1.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.1.0","endInclusive":true}}],"versionsText":"≤ 4.14.0 | ≥ 5.0.0, ≤ 5.1.0","eol":null,"hubHref":"/vendor/opencv/opencv"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/opencv/opencv/pull/31041","label":"github.com/opencv/opencv/pull/31041","hostname":"github.com","tags":["Issue Tracking","Patch","FIX"]},{"url":"https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40","label":"github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40","hostname":"github.com","tags":["Patch","FIX"]},{"url":"https://issues.oss-fuzz.com/issues/492921270","label":"issues.oss-fuzz.com/issues/492921270","hostname":"issues.oss-fuzz.com","tags":["Issue Tracking","REPORT"]},{"url":"https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp#L797-L825","label":"github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp","hostname":"github.com","tags":["Technical Description","ARTICLE"]},{"url":"https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp#L820-L851","label":"github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp","hostname":"github.com","tags":["Technical Description","ARTICLE"]},{"url":"https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory","Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-135290","label":"ubuntu.com/security/CVE-2026-135290","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135290","label":"www.cve.org/CVERecord?id=CVE-2026-135290","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135290.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135290.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135290","label":"nvd.nist.gov/vuln/detail/CVE-2026-135290","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/opencv/opencv","label":"github.com/opencv/opencv","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-23T16:57:48.880Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,68],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00417,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"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","version":"4.0"},{"type":"cvss","source":"osv_wolfi","date":"2026-11-23T16:57:48.880Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"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","version":"4.0"}],"epss":{"value":0.00417,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:40:35.013Z","stale":false,"partial":false}}