CVE-2026-135290 OpenCV through 4.14.0 and 5.0.0 through 5.1.0 Infinite Loop via YAMLParser::parse

Published Updated

Crafted YAML files with a non-separator dash line hang OpenCV's YAML parser, causing denial of service in applications parsing untrusted YAML.

CVSS score

Medium

6.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

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.

PackageAffectedFixed in
opencv/opencv GitHub
pkg:github/opencv/opencv
All versions to 4.14.0None
opencv/opencv GitHub
pkg:github/opencv/opencv
From 5.0.0 to 5.1.0None

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.

Is CVE-2026-135290 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free