Resource exhaustion in Microsoft Openapi.net
CVE-2026-72923
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.019 (79.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.019 · change: +0.007
Affected products
- Microsoft Openapi.net — versions < 1.6.30, >= 2.0.0-preview.11, < 2.12.0, >= 3.0.0, < 3.10.0
- Microsoft Openapi.readers
- Microsoft Openapi.yamlreader
Weakness classification (CWE)
References
- github.com/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2
- github.com/microsoft/OpenAPI.NET/commit/1f9aea9bdcbf4066b59ce33b3bd8f97ed9cb4766
- github.com/microsoft/OpenAPI.NET/commit/21793261d6860fb6e607b71fd95c0bd320724764
- github.com/microsoft/OpenAPI.NET/commit/4db9af07d112cdf45170b7a946f956ffe74fa14e
Frequently asked questions
- What is CVE-2026-72923?
- CVE-2026-72923 is a high-severity vulnerability in Microsoft Openapi.net, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2026-09-08.
- How severe is CVE-2026-72923?
- High severity. CVSS v3 base score is 7.5 out of 10.