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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: UBUNTU-CVE-2026-135290, CGA-8f9m-4x94-q84h, CGA-9m96-7fq3-m32q, CGA-7h85-cr8v-rr9f, CGA-2cg3-2624-vqwf, CGA-7w2r-7648-fvx9, CGA-p2vw-77q8-hm5r
- Record: https://cvemate.com/vulnerability/CVE-2026-135290 · JSON: https://cvemate.com/vulnerability/CVE-2026-135290/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v4.0, CVE.org) 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
- EPSS: 0.417%, percentile 38.026%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard opencv (Chainguard): All versions (No fix recorded)
- chainguard opencv-dev (Chainguard): All versions (No fix recorded)
- chainguard opencv-libs (Chainguard): All versions (No fix recorded)
- wolfi opencv (Wolfi): All versions (No fix recorded)
- ubuntu opencv (Ubuntu): All versions (No fix recorded)
- opencv opencv: ≤ 4.14.0 \| ≥ 5.0.0, ≤ 5.1.0

## References

- <https://github.com/opencv/opencv/pull/31041>
- <https://github.com/opencv/opencv/commit/ede3313ae7157662b6c038adf758ad409cfedf40>
- <https://issues.oss-fuzz.com/issues/492921270>
- <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://www.vulncheck.com/advisories/opencv-through-4.14.0-and-5.0.0-through-5.1.0-infinite-loop-via-yamlparser-parse>
- <https://ubuntu.com/security/CVE-2026-135290>
- <https://www.cve.org/CVERecord?id=CVE-2026-135290>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135290.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-135290>
- <https://github.com/opencv/opencv>

---

Data as of 2026-12-05T06:40:35.013Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
