SecurityContext

CVE-2026-135290: OpenCV - Denial of Service

  • Cve: CVE-2026-135290
  • Name: OpenCV - Denial of Service
  • 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.
  • Impact: Attackers can hang the parsing thread at full CPU, causing denial of service.
  • Remediation: Update to a version later than 4.14.0 or 5.1.0, or the latest available version.
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker must supply a crafted YAML file opened via cv::FileStorage
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Assignee: [email protected]
  • Published at: 2026-11-23T17:17:52Z
  • Modified at: 2026-11-23T17:17:52Z
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-135290
  • Nvd status: received
  • Checked, none or zero: age in days, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, epss score, epss percentile, hackerone

Cwe

IdName
CWE-835Loop with Unreachable Exit Condition

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp#L797-L825
https://github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp#L820-L851
https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40
https://github.com/opencv/opencv/pull/31041
https://issues.oss-fuzz.com/issues/492921270
https://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse

Products

ProductAffectedPlatform boundSourcesUrl
opencv:opencv>= 5.0.0, <= 5.1.0; <= 4.14.0nocna/v1/products/opencv/opencv

Projects

RepositoryLink kindsIndexedUrl
opencv/opencvcommit, pullyes/v1/repositories/opencv/opencv

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts