PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-135290 opencv CVE debrief

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. The vulnerability is triggered when a YAML file with a non-separator '-' line after the first document is opened through cv::FileStorage, causing the thread to hang at full CPU. Defenders should assess exposure and prioritize patching or mitigation, particularly for OpenCV deployments using versions 4.14.0 and 5.0.0 through 5.1.0.

Vendor
opencv
Product
Unknown
CVSS
MEDIUM 6.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-23
Original CVE updated
2026-11-23
Advisory published
2026-11-23
Advisory updated
2026-11-23

Who should care

Defenders responsible for OpenCV deployments, particularly those using versions 4.14.0 and 5.0.0 through 5.1.0, should assess exposure and prioritize patching or mitigation. This includes operators, platform administrators, vulnerability management teams, and security teams who manage or secure OpenCV installations.

Why it matters

Defenders should care about CVE-2026-135290 because it allows attackers to cause denial of service via crafted YAML dash lines in OpenCV's YAMLParser::parse function, potentially leading to thread hangs at full CPU.

  • Denial of service via infinite loop.
  • Potential for thread hang at full CPU.

Technical summary

The vulnerability exists in the YAMLParser::parse function of OpenCV, allowing attackers to cause a denial of service via crafted YAML dash lines. The function fails to handle YAML files with a non-separator '-' line after the first document, opened through cv::FileStorage, leading to an infinite loop that hangs the thread at full CPU. This issue affects OpenCV versions through 4.14.0 and 5.0.0 through 5.1.0. Defenders should prioritize patching or mitigating this vulnerability to prevent potential denial-of-service attacks.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability to prevent potential denial-of-service attacks.

Recommended defensive actions

  • Patch or upgrade OpenCV to a version outside the affected range.
  • Implement input validation and sanitization for YAML files.
  • Monitor for and restrict suspicious YAML file uploads or processing.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and source item provide details on the infinite loop vulnerability in OpenCV's YAMLParser::parse function. Evidence is limited to public sources and may not be comprehensive. Defenders should verify the vulnerability's existence and impact within their specific environments. The CVE record was published on 2026-11-23T16:57:48.88Z and has not been modified since then.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-135290 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-135290

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-135290 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-135290

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/135xxx/CVE-2026-135290.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/opencv/opencv/pull/31041

    Supplemental source - issue-tracking, patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://issues.oss-fuzz.com/issues/492921270

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.