P2 · HighCVSS 7.5EPSS 1.0%
YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key
- CVE-2026-142212
- GHSA-r5w3-c3gf-w53h
- EUVD-2026-141618
Description
YamlDotNet through 18.1.0 contains an uncontrolled recursion vulnerability in YamlSequenceNode and YamlMappingNode GetHashCode that allows unauthenticated remote attackers to crash applications using YamlStream.Load. Attackers can supply a tiny YAML document with a self-aliasing anchored sequence used as a mapping key, triggering an uncatchable StackOverflowException that terminates the hosting process.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
aaubry YamlDotNet
Affected versions Fixed in up to 18.1.0 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.