{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.14.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "5.0.0"
                  },
                  {
                    "last_affected": "5.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "ede3313ae7157662b6c038adf758ad409cfedf40"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0654a42e19215ef25b1d367d822f3c630447e7c7"
            },
            {
              "introduced": "40738fb16ceddb5fb3fea747585f7ce6abb0605b"
            },
            {
              "fixed": "ede3313ae7157662b6c038adf758ad409cfedf40"
            }
          ],
          "repo": "https://github.com/opencv/opencv",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-135290",
  "modified": "2026-11-24T20:45:49.977460626Z",
  "published": "2026-11-23T16:57:48.880Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse"
}