CVE-2026-72923: CWE-400: Uncontrolled Resource Consumption in microsoft OpenAPI.NET
Description
CVE-2026-72923 is an uncontrolled resource consumption vulnerability in Microsoft OpenAPI.NET's YAML parsing components. It arises from nested anchors and aliases in YAML OpenAPI documents, which can cause exponential memory allocation during conversion to JSON nodes. This can lead to process termination due to out-of-memory conditions. The vulnerability affects Microsoft.OpenApi.YamlReader versions >=2.0.0-preview.11 and <2.12.0, >=3.0.0 and <3.10.0, and Microsoft.OpenApi.Readers versions <1.6.30. Patched versions are available that impose limits on node count and nesting depth to prevent unbounded expansion. The impact is limited to availability and denial of service; no code execution or data exposure is reported.
CVSS v3.1
Score 7.5high
Affected software
microsoft
OpenAPI.NET
pkg:nuget/microsoft.openapi.yamlreaderpkg:nuget/microsoft.openapi.readersRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Microsoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers is caused by the way YAML aliases and anchors are expanded during conversion from SharpYaml's DAG representation to System.Text.Json.Nodes.JsonNode instances. Because JsonNode instances cannot be shared among multiple parents, nested anchors referenced multiple times can cause exponential growth in memory usage (k^N nodes for N nested anchors each referenced k times). This uncontrolled resource consumption can cause excessive memory allocation and process termination. The issue affects specific version ranges of the Microsoft.OpenApi.YamlReader and Microsoft.OpenApi.Readers libraries. Patched versions 1.6.30+, 2.12.0+, and 3.10.0+ introduce limits on maximum materialized node count (5,000,000) and maximum nesting depth (64), causing the parser to fail fast with an error instead of crashing. Users parsing untrusted YAML OpenAPI documents are advised to upgrade and consider isolating parsing in separate processes to reduce impact.
Potential Impact
Applications or services parsing untrusted YAML OpenAPI documents using affected versions of Microsoft.OpenApi.YamlReader or Microsoft.OpenApi.Readers may experience process termination due to excessive memory consumption triggered by crafted YAML documents with nested anchors and aliases. The impact is limited to availability (denial of service) and does not include remote code execution, privilege escalation, data exposure, or impact on Microsoft hosted services.
Mitigation Recommendations
Users should upgrade to Microsoft.OpenApi.YamlReader version 2.12.0 or later, or 3.10.0 or later, or Microsoft.OpenApi.Readers version 1.6.30 or later, depending on the major version in use. These patched versions enforce limits on YAML-to-JSON conversion to prevent unbounded resource consumption and fail fast with an error when limits are exceeded. Additionally, applications parsing untrusted OpenAPI documents should consider isolating the parsing process to reduce the blast radius of potential parser failures.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-10T17:57:26.144Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa04542acd9273b49fa9c71
Added to database: 09/08/2026, 17:26:26 UTC
Last enriched: 10/14/2026, 23:03:18 UTC
Last updated: 10/22/2026, 13:15:23 UTC
Views: 31
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.