OpenCV through 4.14.0 and 5.0.0 through 5.1.0 contains an infinite loop vulnerability in YAMLParser::parse that allows
Affects opencvSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium.
Data as of 25 Nov 2026, 22:55 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.5 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10opencvpkg:deb/ubuntu/opencv?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSopencvpkg:deb/ubuntu/opencv?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSopencvpkg:deb/ubuntu/opencv?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSopencvpkg:deb/ubuntu/opencv?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSopencvpkg:deb/ubuntu/opencv?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSopencvpkg:deb/ubuntu/opencv?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted YAML files with OpenCV's cv::FileStorage to prevent triggering the infinite loop.
Description
OpenCV versions through 4.14.0 and 5.0.0 through 5.1.0 contain an infinite loop vulnerability in the YAMLParser::parse function. This flaw allows attackers to cause a denial of service by supplying specially crafted YAML files with a non-separator '-' line after the first document, which causes the parsing thread to hang at full CPU usage.