AploSec / Disclosures / CVE-2026-142212

High 8.7ReportedNo fix listedCWE-674NuGet

YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key

CVE-2026-142212 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

Summary

CVE-2026-142212 affects YamlDotNet (NuGet) <= 18.1.0: Uncontrolled Recursion via Self-Aliasing Mapping Key (CWE-674). No fixed release is listed. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 8.7CVSS 4.0, scored by VulnCheck in the CVE record
Package
YamlDotNet
Ecosystem
NuGet
Affected
<= 18.1.0
Fixed
None
Weakness
CWE-674
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder