CVE-2026-142212: Vulnerability in Aaubry YamlDotNet
Patch soon. 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.
CWE-674
- Exploitation
- None confirmed
- Severity
- 8.7 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-r5w3-c3gf-w53h
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-674
- Published
- 2 Dec 2026
- Last change
- 5 Dec 2026
Affected products
Affected versions and the first fixed release
- Aaubry YamlDotNet Through 18.1.0; Version 0 ≤18.1.0. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/YamlDotNet/YamlDotNet/blob/v18.1.0/YamlDotNet/RepresentationModel/YamlNode.cs
- github.com/YamlDotNet/YamlDotNet/blob/v18.1.0/YamlDotNet/RepresentationModel/YamlSequen...
- github.com/YamlDotNet/YamlDotNet/blob/v18.1.0/YamlDotNet/RepresentationModel/YamlMappin...
- vulncheck.com/advisories/yamldotnet-through-18.1.0-uncontrolled-recursion-via-self-alia...
Related
- YamlDotNet vulnerabilities Recent advisories, watch this product