Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft minimal YAML document with deeply nested anchors
-
DeliverySubmit via HTTP to public parsing endpoint
-
ExploitSharpYaml parses compact DAG (small footprint)
-
ExecutionAlias materialization converts DAG to k^N independent JsonNode copies
-
Persist.NET heap exhausted by exponential allocation
-
ImpactRuntime OOM terminates process, service denied
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a .NET application invokes the public YAML reader APIs of Microsoft.OpenApi.YamlReader or Microsoft.OpenApi.Readers (e.g., OpenApiDocument.Load(), OpenApiReader.Read()) against attacker-controlled YAML input on an affected version. No authentication is required when the parsing endpoint is publicly accessible, per CVSS PR:N. Exploitation is limited by: (1) parsing path - applications that parse only internally generated, pre-validated, or trusted YAML are not at risk; (2) version - applications running YamlReader 2.12.0+/3.10.0+ or Readers 1.6.30+ are patched; (3) runtime scope - this is a .NET NuGet library vulnerability and does not affect other language OpenAPI parsers or non-.NET deployments. |
| Impact | The provided CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5) accurately reflects the attack mechanics: network-reachable, no authentication, no user interaction, and high availability impact through process termination. SSVC rates exploitation as none currently, automatable yes, and technical impact as partial - this is consistent: the attack is trivially scalable once a payload exists, but exploitation is not yet confirmed. The vulnerability is not listed in CISA KEV, and no public proof-of-concept is identified in the input data. Real-world risk is concentrated in .NET services that expose public-facing endpoints accepting user-supplied YAML OpenAPI documents - API gateways, developer portals, design-time tooling servers, and Swagger-driven validation pipelines are the most likely targets. Applications that parse only internally generated or pre-validated YAML carry substantially lower practical risk. The score of 7.5 is appropriate; there is no CVSS inflation concern here - the absence of confidentiality and integrity impact is correctly reflected. |
| Exploit ScenarioDerived | An attacker sends a single HTTP POST request containing a crafted YAML OpenAPI document - potentially fewer than 200 bytes - to any public endpoint that forwards user input to the OpenAPI.NET YAML reader APIs. The document encodes deeply nested YAML anchors where each level is aliased multiple times; the library's alias-materialization step allocates exponentially many JsonNode objects within milliseconds, exhausting the .NET process heap. The host process is terminated by the runtime's out-of-memory handler, denying service to all legitimate users until the process is restarted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Uncontrolled memory consumption in Microsoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers allows unauthenticated remote attackers to terminate a .NET host process by submitting a small, specially crafted YAML OpenAPI document containing nested anchors and aliases. The attack exploits a 'billion laughs' style amplification at the boundary between SharpYaml's directed acyclic graph representation and System.Text.Json.Nodes.JsonNode materialization: because a JsonNode cannot be shared across parents, each alias must be deep-copied independently, yielding k^N allocations for N nested anchor levels each referenced k times. No public exploit has been identified at time of analysis, but SSVC confirms the attack is automatable, meaning tooling can deliver it at scale once a payload is known.
RemediationAI
Upgrade immediately to the patched versions: Microsoft.OpenApi.YamlReader 2.12.0 (for v2 users) or 3.10.0 (for v3 users), and Microsoft.OpenApi.Readers 1.6.30 or later. The patches enforce upper bounds on YAML-to-JSON conversion by node count and nesting depth, returning an OpenApiDiagnostic error for documents exceeding those limits rather than expanding without bound. The full advisory is at https://github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2. If immediate patching is blocked, restrict access to any endpoint that passes user-supplied YAML to these libraries - require authentication or limit access to trusted internal callers only. Note that document size limits alone are insufficient as a compensating control: a malicious payload can be very small in raw bytes while still producing catastrophic expansion. Only the patched library correctly bounds the conversion; there is no safe workaround that preserves full YAML parsing functionality on unpatched versions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in nuget, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Microsoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers are NuGet packages within the OpenAPI.NET project (github.com/microsoft/OpenAPI.NET) used by .NET applications to parse OpenAPI specification documents in YAML format. The vulnerability arises at the interface of two parsing layers: SharpYaml correctly represents YAML anchor/alias structures as a compact directed acyclic graph, keeping the initial parse tree small regardless of alias count. However, the subsequent conversion to System.Text.Json.Nodes.JsonNode - which is required by OpenAPI.NET's processing pipeline - cannot reuse nodes across multiple parents. Each alias is therefore materialized as an independent deep copy, producing exponential node count growth with input N nested anchors referenced k times each: k^N total JsonNode objects. This is a textbook CWE-400 (Uncontrolled Resource Consumption) attack, structurally equivalent to the 'billion laughs' XML entity expansion attack, adapted to the YAML anchor/alias mechanism. The patched versions (YamlReader 2.12.0/3.10.0, Readers 1.6.30) introduce upper bounds on node count and nesting depth during conversion, returning an OpenApiDiagnostic error instead of expanding without limit.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable with no auth or user interaction required; impact is purely availability via OOM process termination, with no confidentiality or integrity consequence.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
In Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 until 2.12.0 and from 3.0.0 until 3.10.0, and in Microsoft.OpenApi.Readers prior to 1.6.30, a small YAML OpenAPI document containing nested anchors and aliases can cause uncontrolled resource consumption when parsed through the public YAML reader APIs. YAML is parsed through SharpYaml, which represents aliases as shared nodes in a directed acyclic graph, so the parsed YAML graph stays small, but converting that graph to System.Text.Json.Nodes.JsonNode requires every alias to be materialized as an independent node because a JsonNode cannot be attached to multiple parents. Without a bound on that conversion work, a document with N nested anchors each referenced k times can require k^N materialized JSON nodes, leading to excessive memory allocation and process termination through out-of-memory conditions, a billion laughs style denial of service. The patched versions bound the YAML-to-JSON conversion by node count and nesting depth and report an OpenApiDiagnostic error instead of expanding without limit. This vulnerability is fixed in Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0, and Microsoft.OpenApi.Readers 1.6.30.
Technical POC Analysis
CWE-400: Uncontrolled Resource Consumption.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A vulnerability in Microsoft's OpenAPI libraries enables remote attackers to crash .NET application processes without requiring authentication, creating immediate availability risk for services processing API specifications. Organizations running these libraries expose production systems to potential service outages through specially crafted YAML documents. Any company dependent on .NET-based APIs or services faces potential business continuity impact until patching is complete.
Apply vendor patch. Until patching is complete, restrict YAML processing to authenticated users only, implement strict request size limits at the application or reverse-proxy level, and configure parsing timeouts to prevent resource exhaustion from specially crafted documents.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-73080
GHSA-7pxr-59rr-hqj2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB