Memory Allocation with Excessive Size Value Affecting opentelemetry.api package, versions [0.5.0-beta.2,1.15.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-OPENTELEMETRYAPI-16189068
  • published24 Apr 2026
  • disclosed23 Apr 2026
  • creditMartin Costello

Introduced: 23 Apr 2026

NewCVE-2026-40894  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade OpenTelemetry.Api to version 1.15.3 or higher.

Overview

OpenTelemetry.Api is a package that application developers and library authors use to instrument their application/library.

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the processing of propagation headers such as baggage, B3, and Jaeger. An attacker can cause excessive memory allocation leading to application resource exhaustion by sending specially crafted, excessively large or malformed propagation headers.

Workaround

This vulnerability can be mitigated by configuring appropriate HTTP request header limits or disabling baggage and/or trace propagation.

CVSS Base Scores

version 4.0
version 3.1