{"id":"CVE-2026-142212","aliases":["EUVD-2026-141618","GHSA-r5w3-c3gf-w53h"],"status":"published","title":"YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key","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.","severity":{"version":"4.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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00988,"percentile":0.63625,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-674"],"published":"2026-12-02T16:50:34Z","modified":"2026-12-05T05:19:33Z","products":[{"vendor":"aaubry","product":"yamldotnet"}],"references":[{"url":"https://github.com/YamlDotNet/YamlDotNet/blob/v18.1.0/YamlDotNet/RepresentationModel/YamlNode.cs#L65-L101","tags":["technical-description","article"]},{"url":"https://github.com/YamlDotNet/YamlDotNet/blob/v18.1.0/YamlDotNet/RepresentationModel/YamlSequenceNode.cs#L203-L212","tags":["technical-description","article"]},{"url":"https://github.com/YamlDotNet/YamlDotNet/blob/v18.1.0/YamlDotNet/RepresentationModel/YamlMappingNode.cs#L76-L82","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/yamldotnet-through-18.1.0-uncontrolled-recursion-via-self-aliasing-mapping-key","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142212","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r5w3-c3gf-w53h"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142212.json","tags":["advisory"]},{"url":"https://github.com/YamlDotNet/YamlDotNet","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142212","title":"YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key","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.","status":"published","published":"2026-12-02T16:50:34.405Z","modified":"2026-12-05T03:15:44.27Z","cvss":[{"version":"4.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","level":"high","assessor":"cna"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-674"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-05"},"updated_at":"2026-12-05T03:27:22.134541Z"}],"euvd":[{"id":"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.","status":"published","published":"2026-12-02T16:50:34Z","modified":"2026-12-05T03:15:44Z","cvss":[{"version":"4.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","level":"high"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-r5w3-c3gf-w53h","title":"YamlDotNet through 18.1.0 contains an uncontrolled recursion vulnerability in YamlSequenceNode...","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.","status":"published","published":"2026-12-02T18:31:45Z","modified":"2026-12-02T18:31:54Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-12-02T18:38:43.855074Z"}],"nvd":[{"id":"CVE-2026-142212","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.","status":"published","published":"2026-12-02T17:17:43.467Z","modified":"2026-12-05T05:19:33.343Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-674"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-05"},"updated_at":"2026-12-05T05:22:46.281266Z"}],"osv":[{"id":"CVE-2026-142212","title":"YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key","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.","status":"published","published":"2026-12-02T16:50:34.405Z","modified":"2026-12-05T04:45:23.412373518Z","cvss":[{"version":"4.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","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
