What is CVE-2026-135290?
CVE-2026-135290 is a medium-severity denial of service vulnerability in opencv, published on 23 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Weakness: CWE-835
How severe is CVE-2026-135290?
CVE-2026-135290 scores 6.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- High
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
Which versions are affected by CVE-2026-135290?
2 open source packages ship an affected version, including opencv/opencv.
An affected version is only exploitable if your software calls YAMLParser::parse or cv::FileStorage. Many projects that include it are not exposed.
| Package | Affected | Fixed in |
|---|---|---|
opencv/opencv GitHubpkg:github/opencv/opencv | All versions to 4.14.0 | None |
opencv/opencv GitHubpkg:github/opencv/opencv | From 5.0.0 to 5.1.0 | None |
How do I fix CVE-2026-135290?
No fix has been published for CVE-2026-135290 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-135290 being exploited?
There is no known exploitation of CVE-2026-135290 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-h35f-7wcf-2h7h, UBUNTU-CVE-2026-135290.