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.

Project Subscriptions

Vendors Products
Yamldotnet Project Subscribe
Yamldotnet Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key
First Time appeared Yamldotnet Project
Yamldotnet Project yamldotnet
Weaknesses CWE-674
CPEs cpe:2.3:a:yamldotnet_project:yamldotnet:*:*:*:*:*:*:*:*
Vendors & Products Yamldotnet Project
Yamldotnet Project yamldotnet
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T16:50:34.405Z

Reserved: 2026-12-02T15:28:43.599Z

Link: CVE-2026-142212

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T17:17:43.467

Modified: 2026-12-02T17:17:43.467

Link: CVE-2026-142212

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses