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.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Received"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135290",
"id": "CVE-2026-135290",
"imported": "2026-12-03T08:02:42.656Z",
"modified": "2026-11-23T17:17:52.497Z",
"published": "2026-11-23T17:17:52.497Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-135290"
},
{
"html_url": "https://github.com/advisories/GHSA-h35f-7wcf-2h7h",
"id": "GHSA-h35f-7wcf-2h7h",
"imported": "2026-12-03T08:02:50.192Z",
"modified": "2026-11-23T18:32:04Z",
"published": "2026-11-23T18:31:56Z",
"url": "https://api.github.com/advisories/GHSA-h35f-7wcf-2h7h"
},
{
"affected": {
"OpenCV:opencv": [
"0 ≤4.14.0",
"5.0.0 ≤5.1.0"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-133241",
"id": "EUVD-2026-133241",
"imported": "2026-12-03T08:02:36.445Z",
"modified": "2026-11-23T16:57:48Z",
"published": "2026-11-23T16:57:48Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-133241"
}
]
}