CVE-2026-48504: Opentelemetry sdk Opentelemetry_sdk Has Unbounded Memory Allocation Vulnerability
MODERATECVE-2026-48504 is a MODERATE (CVSS 5.3) opentelemetry_sdk has unbounded memory allocation vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Opentelemetry sdk libraries in the crates.io ecosystem. The issue involves opentelemetry_sdk has unbounded memory allocation in w3c baggage propagation. Remediation is available by upgrading affected packages to version 0.32.1.
CVE-2026-48504 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2026-48504
To remediate this vulnerability, upgrade all affected Opentelemetry sdk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade opentelemetry_sdk to 0.32.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for opentelemetry_sdk
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-48504, inspect your project dependencies for Opentelemetry sdk:
inspect dependencies for opentelemetry_sdk
Analyze the terminal output to locate any version of Opentelemetry sdk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.32.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Opentelemetry sdk, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-48504 Affected Opentelemetry sdk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
opentelemetry_sdk
|
crates.io |
< 0.32.1
|
0.32.1
|
References
Frequently Asked Questions
What is CVE-2026-48504?
Which Opentelemetry sdk versions are affected?
What version fixes CVE-2026-48504?
Is opentelemetry_sdk affected?
What is the CVSS score of CVE-2026-48504?
What CWE is associated with CVE-2026-48504?
How can I check crates.io dependencies for CVE-2026-48504?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w9wp-h8wv-79jx",
"modified" : "2026-06-25T18:40:05Z",
"published" : "2026-06-25T18:40:04Z",
"aliases" : [ "CVE-2026-48504" ],
"summary" : "opentelemetry_sdk has unbounded memory allocation in W3C Baggage propagation",
"details" : "## Summary\n\n`BaggagePropagator::extract_with_context` in `opentelemetry_sdk` did not enforce the W3C Baggage size limits before parsing an inbound `baggage` header. A large attacker-controlled header could cause unnecessary CPU work and short-lived heap allocations while parsing entries that would later be discarded by the SDK's baggage storage limits.\n\nThe SDK now applies limits aligned with the W3C Baggage limits:\n\n - 64 list-members\n - 8192 bytes total\n\n## Impact\n\nServices that accept untrusted inbound propagation headers may experience increased per-request resource usage when processing oversized `baggage` headers. This can contribute to denial-of-service risk, especially when application or transport-level header limits are absent or configured above the W3C Baggage limits.\n \nThe impact is limited to availability. This issue does not expose telemetry data, modify telemetry data, or allow code execution.\n\n## Patches\n\nUpgrade `opentelemetry_sdk` to version `0.32.1` or later.\n\nVersion `0.32.1` rejects `baggage` header values larger than 8192 bytes and limits extraction to the first 64 list-members.\n\n ## Workarounds\n\nIf upgrading immediately is not possible, reject or limit inbound `baggage` headers larger than 8192 bytes before invoking OpenTelemetry propagation extraction. This can be enforced at a proxy, gateway, middleware layer, or custom carrier boundary.\n\n## Resources\n\n - W3C Baggage limits: https://www.w3.org/TR/baggage/#limits\n - Related OpenTelemetry Java advisory: https://github.com/open-telemetry/opentelemetry-java/security/advisories/GHSA-rcgg-9c38-7xpx\n - Related OpenTelemetry Go advisory: https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-mh2q-q3fh-2475\n - CVE-2026-48504\n\n## Credit\n\ntonghuaroot",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "opentelemetry_sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.32.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.32.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/open-telemetry/opentelemetry-rust/security/advisories/GHSA-w9wp-h8wv-79jx"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/open-telemetry/opentelemetry-rust"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-25T18:40:04Z",
"nvd_published_at" : null
}
}