CVE-2026-135290Opencv infinite loop
CVSS score
6.8
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
No EPSS score yet.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Opencv and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| opencv Opencv | ≤ 4.14.0 · ≥ 5.0.0, ≤ 5.1.0 |
Weakness
- CWE-835 infinite loop
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-135290 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far.
What is the CVSS score of CVE-2026-135290?
CVE-2026-135290 has a CVSS 4.0 base score of 6.8 (medium).
Which versions are affected?
Opencv Opencv (≤ 4.14.0; ≥ 5.0.0, ≤ 5.1.0)
Is there a patch for CVE-2026-135290?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- github.com/opencv/opencv/blob/4.14.0/modules/core/src/persistence_yml.cpp#L797-L825
- github.com/opencv/opencv/blob/5.1.0/modules/core/src/persistence_yml.cpp#L820-L851
- github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40
- github.com/opencv/opencv/pull/31041
- issues.oss-fuzz.com/issues/492921270
- www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.