CVE-2026-142212

Source
https://cve.org/CVERecord?id=CVE-2026-142212
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142212.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142212
Published
2026-12-02T16:50:34Z
Modified
2026-12-02T18:00:44Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
YamlDotNet through 18.1.0 Uncontrolled Recursion via Self-Aliasing Mapping Key
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-674"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142212.json"
}
References

Affected packages

Git / github.com/yamldotnet/yamldotnet

Affected ranges

Type
GIT
Repo
https://github.com/yamldotnet/yamldotnet
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "18.1.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v1.*
v1.3.0
v10.*
v10.0.0
v10.1.0
v11.*
v11.0.1
v11.1.0
v11.1.1
v11.2.0
v11.2.1
v12.*
v12.0.0
v12.0.1
v12.0.2
v12.1.0
v12.2.0
v12.2.1
v12.3.0
v12.3.1
v13.*
v13.0.0
v13.0.1
v13.0.2
v13.1.0
v13.1.1
v13.2.0
v13.3.1
v13.4.0
v13.5.0
v13.5.1
v13.5.2
v13.7.0
v13.7.1
v15.*
v15.1.0
v15.1.1
v15.1.2
v15.1.4
v15.1.6
v15.3.0
v16.*
v16.0.0
v16.1.0
v16.1.1
v16.1.2
v16.1.3
v16.2.0
v16.2.1
v16.3.0
v17.*
v17.0.0
v17.1.0
v18.*
v18.0.0
v18.1.0
v2.*
v2.0.0
v2.0.1
v2.1.0
v2.2.0
v2.3.0-rc
v3.*
v3.0.0
v3.1.0
v3.1.1
v3.2.0
v3.2.1
v3.2.2
v3.3.0
v3.3.1
v3.6.0
v3.6.1
v3.7.0
v3.8.0
v3.9.0
v4.*
v4.0.0
v4.1.0
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.2.4
v4.3.0
v4.3.1
v4.3.2
v5.*
v5.0.0
v5.0.1
v5.1.0
v5.2.0
v5.2.1
v5.3.0
v5.3.1
v5.4.0
v6.*
v6.0.0
v6.1.1
v6.1.2
v7.*
v7.0.0
v8.*
v8.0.0
v8.1.0
v8.1.1
v8.1.2
v9.*
v9.1.0
v9.1.1
v9.1.2
v9.1.3
v9.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142212.json"