NuGet
CVE-2026-142212
YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key
- Severity
- High 8.7
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- Uncontrolled recursion (CWE-674)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS 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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
YamlDotNetNuGet · osv:NuGet:YamlDotNet |
|
About YamlDotNet
- Total downloads (NuGet)
- 650,287,642NuGet, 2 Dec 2026
This is the only vulnerability in YamlDotNet in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142212