5.3Medium
CVE-2026-40894OpenTelemetry dotnet: Excessive memory allocation when parsing OpenTelemetry propagation headers
Description
OpenTelemetry dotnet is a dotnet telemetry framework. In OpenTelemetry.Api 0.5.0-beta.2 to 1.15.2 and OpenTelemetry.Extensions.Propagators 1.3.1 to 1.15.2, The implementation details of the baggage, B3 and Jaeger processing code in the OpenTelemetry.Api and OpenTelemetry.Extensions.Propagators NuGet packages can allocate excessive memory when parsing which could create a potential denial of service (DoS) in the consuming application. This vulnerability is fixed in 1.15.3.
Weakness (CWE):
CWE-789
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| open-telemetry | opentelemetry-dotnet | >= 0.5.0-beta.2, < 1.15.3 | |
| open-telemetry | OpenTelemetry.Api | >= 0.5.0-beta.2, < 1.15.3 | |
| open-telemetry | OpenTelemetry.Extensions.Propagators | >= 1.3.1, < 1.15.3 | |
| opentelemetry | opentelemetry | 0.5.0 – < 1.15.3 | |
| opentelemetry | opentelemetry.api | 0.5.0 – < 1.15.3 | |
| opentelemetry | opentelemetry.extensions.propagators | 1.3.0 – < 1.15.3 |
References and patches
- https://github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-g94r-2vxg-569j MitigationVendor Advisory
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/1048 Issue TrackingPatch
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/3244 Issue TrackingPatch
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/3309 Issue TrackingPatch
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/533 Issue TrackingPatch
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/7061 Issue TrackingPatch
CPE matches (NVD) (3)
cpe:2.3:a:opentelemetry:opentelemetry:*:*:*:*:*:.net:*:*≥ 0.5.0 < 1.15.3cpe:2.3:a:opentelemetry:opentelemetry.api:*:*:*:*:*:.net:*:*≥ 0.5.0 < 1.15.3cpe:2.3:a:opentelemetry:opentelemetry.extensions.propagators:*:*:*:*:*:*:*:*≥ 1.3.0 < 1.15.3