CVE-2026-40894: OpenTelemetry dotnet: Excessive memory allocation when parsing OpenTelemetry propagation headers
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.
References
- github.com/advisories/GHSA-g94r-2vxg-569j
- github.com/open-telemetry/opentelemetry-dotnet
- github.com/open-telemetry/opentelemetry-dotnet/pull/1048
- github.com/open-telemetry/opentelemetry-dotnet/pull/3244
- github.com/open-telemetry/opentelemetry-dotnet/pull/3309
- github.com/open-telemetry/opentelemetry-dotnet/pull/3533
- github.com/open-telemetry/opentelemetry-dotnet/pull/533
- github.com/open-telemetry/opentelemetry-dotnet/pull/7061
- github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.15.3
- github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-g94r-2vxg-569j
- nvd.nist.gov/vuln/detail/CVE-2026-40894
Code Behaviors & Features
Detect and mitigate CVE-2026-40894 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →