CVE-2026-72923 json
Microsoft.OpenApi.YamlReader vulnerable to denial of service via YAML alias expansion
published 2026-09-08 2 mo ago modified 2026-10-14 25 d ago also GHSA-7pxr-59rr-hqj2 , EUVD-2026-73080
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget Microsoft.OpenApi.YamlReader 2.12.0, 3.10.0
- nuget Microsoft.OpenApi.Readers 1.6.30
- github.com/microsoft/OpenAPI.NET@1f9aea9 commit
- github.com/microsoft/OpenAPI.NET@2179326 commit
- github.com/microsoft/OpenAPI.NET@4db9af0 commit
- github.com/microsoft/OpenAPI.NET#3000 pull request
- github.com/microsoft/OpenAPI.NET#3005 pull request
- github.com/microsoft/OpenAPI.NET#3020 pull request
- github.com/microsoft/OpenAPI.NET/releases/tag/v1.6.30 release
- github.com/microsoft/OpenAPI.NET/releases/tag/v2.12.0 release
- github.com/microsoft/OpenAPI.NET/releases/tag/v3.10.0 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Microsoft.OpenApi.YamlReader | >=3.0.0, <3.10.0 >=2.0.0-preview.11, <2.12.0 |
3.10.0 2.12.0 |
| nuget | Microsoft.OpenApi.Readers | <1.6.30 |
1.6.30 |
Affected products
- microsoft OpenAPI.NET
Classification
References
-
github.com
/microsoft/OpenAPI.NET/commit/1f9aea9bdcbf4066b59ce33b3bd8f97ed9cb4766
web
-
github.com
/microsoft/OpenAPI.NET/commit/21793261d6860fb6e607b71fd95c0bd320724764
web
-
github.com
/microsoft/OpenAPI.NET/commit/4db9af07d112cdf45170b7a946f956ffe74fa14e
web
-
github.com
/microsoft/OpenAPI.NET/pull/3000
web
-
github.com
/microsoft/OpenAPI.NET/pull/3005
web
-
github.com
/microsoft/OpenAPI.NET/pull/3020
web
-
github.com
/microsoft/OpenAPI.NET/security/advisories/GHSA-7pxr-59rr-hqj2
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-72923
advisory
-
github.com
/microsoft/OpenAPI.NET
package
-
github.com
/microsoft/OpenAPI.NET/releases/tag/v1.6.30
web
-
github.com
/microsoft/OpenAPI.NET/releases/tag/v2.12.0
web
-
github.com
/microsoft/OpenAPI.NET/releases/tag/v3.10.0
web
Sources
- CVE List CVE-2026-72923
- GitHub Advisory GHSA-7pxr-59rr-hqj2
- NVD CVE-2026-72923
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.