CVE-2026-72923
Published:September 08, 2026
Updated:October 14, 2026
The OpenAPI.NET SDK contains a useful object model for OpenAPI documents in .NET along with common serializers to extract raw OpenAPI JSON and YAML documents from the model. In Microsoft.OpenApi.Readers versions before 1.6.30 and Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 through 2.11.0 and 3.0.0 through 3.9.0, parsing a YAML OpenAPI document with nested anchors and aliases can consume uncontrolled memory. SharpYaml represents aliases as shared nodes in a small directed acyclic graph, but conversion to independent OpenAPI or System.Text.Json.Nodes.JsonNode trees duplicates every aliased path; without a node-count or nesting-depth limit, N nested anchors referenced k times can require k^N materialized nodes and terminate the process through an out-of-memory condition. The fixed readers bound materialization to 5,000,000 nodes and a nesting depth of 64 by default and report an OpenApiDiagnostic error when a limit is exceeded. This vulnerability is fixed in Microsoft.OpenApi.Readers 1.6.30 and Microsoft.OpenApi.YamlReader 2.12.0 and 3.10.0.
Affected Packages
Microsoft.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.30Microsoft.OpenApi.YamlReader (DOT_NET):
Affected version(s) >=3.0.0.0 <3.10.0Fix Suggestion:
Update to version 3.10.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.0https://github.com/microsoft/OpenAPI.NET.git (GITHUB):
Affected version(s) >=v2.0.0-preview6 <v2.12.0Fix Suggestion:
Update to version v2.12.0microsoft.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) >=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.0microsoft.openapi.readers (NUGET):
Affected version(s) >=1.0.0-beta008 <1.6.30Fix Suggestion:
Update to version 1.6.30Related Resources (13)
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)
EPSS
Base Score:
1.20