Patch Ticker
EnglishEN
Elevated

YamlDotNet YAML library crash via stack overflow

CVE-2026-142212

A .NET YAML reading part can make programs stop.

CVE
CVE-2026-142212 (opens in a new tab)
Score
CVSS 8.7
First seen
8.7
Products

Mitigation

No source names a fixed version yet. Check whether the YamlDotNet you run is 18.1.0 or older, and read the vendor's advisory.

Summary

A recursion flaw in YamlDotNet's GetHashCode lets an unauthenticated remote attacker crash any program using YamlStream.Load with a tiny YAML document. Versions through 18.1.0 are affected.

Affected when

Programs that call YamlStream.Load on external YAML

Incidents by product: YamlDotNet

All Incidents of 2026-12-03

Read the write-up · github.com (opens in a new tab)