CVE-2026-72923
Published:September 08, 2026
Updated:September 22, 2026
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.
Affected Packages
Microsoft.OpenApi.YamlReader (DOT_NET):
Affected version(s) >=3.0.0.0 <3.10.0Fix Suggestion:
Update to version 3.10.0Microsoft.OpenApi.YamlReader (DOT_NET):
Affected version(s) >=2.0.1.0 <2.12.0Fix Suggestion:
Update to version 2.12.0Microsoft.OpenApi.Readers (DOT_NET):
Affected version(s) >=1.0.0.0 <1.6.30Fix Suggestion:
Update to version 1.6.30https://github.com/microsoft/OpenAPI.NET.git (GITHUB):
Affected version(s) >=v2.0.0-preview6 <v2.12.0Fix Suggestion:
Update to version v2.12.0https://github.com/microsoft/OpenAPI.NET.git (GITHUB):
Affected version(s) >=v1.6.24 <v1.6.30Fix Suggestion:
Update to version v1.6.30https://github.com/microsoft/OpenAPI.NET.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.10.0Fix Suggestion:
Update to version v3.10.0microsoft.openapi.readers (NUGET):
Affected version(s) >=1.0.0-beta008 <1.6.30Fix Suggestion:
Update to version 1.6.30microsoft.openapi.yamlreader (NUGET):
Affected version(s) >=2.0.0-preview.14 <2.12.0Fix Suggestion:
Update to version 2.12.0microsoft.openapi.yamlreader (NUGET):
Affected version(s) >=3.0.0 <3.10.0Fix Suggestion:
Update to version 3.10.0Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption
EPSS
Base Score:
1.20