OpenTelemetry OpAMP Client CVE-2026-42348
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl OpAMP server or MitM TLS
-
DeliveryClient sends OpAMP request
-
ExploitReturn oversized HTTP response body
-
ExecutionClient buffers entire body unbounded
-
ImpactHost memory exhausted, denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Exploitation requires that the OpAMP server the client is configured to communicate with is attacker-controlled, or that an attacker can man-in-the-middle the client-server connection; the advisory states the configured server must behave maliciously and that a well-behaved server will not return oversized bodies. The specific trigger is the HTTP transport's use of ReadAsByteArrayAsync (introduced in PR #2926) to copy HttpResponseMessage.Content into a byte array with no upper bound, so a sufficiently large response body exhausts memory. Limiting factors: the attacker cannot target an arbitrary deployment - they must occupy or impersonate the trusted OpAMP server endpoint or break/strip transport TLS, so trusted-server configurations are not exposed; impact is confined to availability (process memory exhaustion / DoS) with no data exposure. Affected: applications using OpenTelemetry.OpAmp.Client before 0.2.0-alpha.1 over the HTTP transport. |
| Impact | This is a genuine but conditional availability issue, not a drop-everything emergency, and the signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) scores availability-only impact, matching the description's denial-of-service via memory exhaustion (CWE-789); there is no confidentiality or integrity impact. The critical caveat is that the CVSS AC:L understates a real precondition stated plainly in the advisory: exploitation requires the OpAMP server the client is configured to talk to be attacker-controlled, or a network attacker to MitM the (typically TLS-protected) connection - so this is not exploitable by an arbitrary remote attacker against a default deployment pointed at a trusted server. EPSS is 0.04% (12th percentile), consistent with no public exploit and a narrow threat model; the vulnerability is NOT in CISA KEV and there is no public exploit code (the only references are the vendor advisory and patch PRs/commit). Exploitation status: no public exploit identified at time of analysis. The vuln.today 'this_week' decision label reflects an available patch and a straightforward fix rather than active exploitation. Net: a legitimately exploitable DoS worth patching on a normal remediation cycle (this week), but the attacker-controlled-server/MitM prerequisite and the component's early-alpha maturity keep real-world priority modest. Note the input Tag 'Information Disclosure' contradicts the CVSS impact (C:N/I:N/A:H) and the DoS description - this is a mislabel, not a confidentiality flaw. |
| Exploit ScenarioDerived | An application embeds the OpenTelemetry .NET OpAMP client and is configured to connect to an OpAMP server over HTTP. An attacker who controls that server (or who can MitM the connection) returns an extremely large HTTP response body; the client calls ReadAsByteArrayAsync and buffers the entire body with no size cap, exhausting process memory and crashing or hanging the host application. No public exploit code exists, and the attack hinges on occupying the server endpoint or man-in-the-middle position rather than striking an arbitrary victim. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Oct 26, 2026
Memory exhaustion in the OpenTelemetry OpAMP client for .NET (NuGet package OpenTelemetry.OpAmp.Client, versions before 0.2.0-alpha.1) allows an attacker who controls or impersonates the configured OpAMP server, or who can man-in-the-middle the HTTP connection, to return an arbitrarily large response body that the client reads into memory without any upper bound, driving the host process into a denial-of-service condition. The flaw is an unbounded allocation (CWE-789) in the HTTP transport introduced by PR #2926, which copies HttpResponseMessage.Content into a byte array via ReadAsByteArrayAsync; the vendor fixed it in PR #4116 by capping responses at 128KB. Exploitation is conditional rather than opportunistic: the attacker must occupy or impersonate the trusted server endpoint or break transport TLS, so deployments pointed at a well-behaved server are not exposed, impact is limited to availability with no data exposure, and no public exploit was identified at time of analysis (EPSS 0.04%, low percentile, no CISA KEV listing).
Earlier versions of this analysis (2)
Unbounded HTTP response reads in the .NET OpenTelemetry.OpAmp.Client package (versions below 0.2.0-alpha.1) let an oversized OpAMP server response exhaust the memory of the consuming application, producing a denial-of-service condition with no confidentiality or integrity impact. Remote, unauthenticated exploitation is possible per the CVSS vector (AV:N/AC:L/PR:N/UI:N), but it is not a default-configuration attack: the client must be pointed at an attacker-controlled OpAMP server, or a network attacker must be positioned to MitM the client-to-server HTTP connection, and return an extremely large body. No public exploit code was identified at time of analysis and there is no CISA KEV entry; EPSS is 0.04% (12th percentile), and the priority signal is 'this_week' rather than an emergency. A vendor patch is available: 0.2.0-alpha.1 caps response bodies at 128KB.
OpenTelemetry OpAMP client allocates unbounded buffers when reading HTTP responses from an OpAMP server, enabling memory exhaustion denial-of-service attacks if the configured server is attacker-controlled or subject to network interception. An attacker can send an extremely large HTTP response body that forces the client application to allocate memory without limits, exhausting available memory and crashing the application. CVSS 5.9 reflects moderate severity; exploitation requires network positioning (man-in-the-middle or control of the OpAMP server endpoint), which limits real-world attack surface. Upstream fix available in version 0.2.0-alpha.1.
RemediationAI
Vendor-released patch: upgrade OpenTelemetry.OpAmp.Client to 0.2.0-alpha.1 or later, which enforces a 128KB cap on OpAMP HTTP responses as delivered in PR #4116 (https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4116) and commit bf1fad4fa298ff451cda0efb0ee9c7a7eb46212a, with the advisory at https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-w2jh-77fq-7gp8. The project states that no workarounds are known, and the advisory's own mitigation framing is that the configured OpAMP server must behave maliciously, so the remaining compensating measure is to ensure the client points only at a trusted, well-behaved OpAMP endpoint over a connection an attacker cannot impersonate or strip; the trade-off is that this reduces exposure but does not remove the unbounded read, so upgrading is required for a complete fix. After upgrading, oversized responses are discarded with a warning event rather than crashing the host, and the request is still delivered, so operators should expect warning-level OpAMP client events for servers that legitimately return large payloads.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the OpenTelemetry .NET contrib OpAMP client, an implementation of the Open Agent Management Protocol used by telemetry collectors and agents to fetch remote configuration from an OpAMP server. The vulnerable code path lives in PlainHttpTransport (src/OpenTelemetry.OpAmp.Client/Internal/Transport/Http/PlainHttpTransport.cs), added by PR #2926, which used HttpClient.PostAsync followed by ReadAsByteArrayAsync to materialize the entire HTTP response body into a single byte array. That pattern is an instance of CWE-789 (Memory Allocation with Excessive Size Value): the allocation size is derived from remote input with no cap, so a response with an enormous Content-Length or a chunked stream of unbounded length forces the process to allocate until memory is exhausted. The fix in PR #4116 reworks the transport to send with HttpCompletionOption.ResponseHeadersRead so the body is not buffered before enforcement, rejects responses whose declared Content-Length exceeds TransportConstants.MaxMessageSize, and additionally performs a bounded stream read because Content-Length can be absent or spoofed; oversize responses raise OpAmpOversizedResponseException, which FrameDispatcher deliberately swallows to avoid crashing the host while still resetting the frame builder. The advisory's threat model is explicit: a correctly behaving OpAMP server will not return oversized bodies, so the trigger requires a malicious or impersonated server endpoint.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable and unauthenticated, but exploitation requires an attacker-controlled server or MitM position, so AC:H; impact is availability-only memory exhaustion (A:H, C:N, I:N).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
Summary
When receiving responses from the OpAMP server over HTTP, the OpAMP client allocates an unbounded buffer to read all bytes from the server, with no upper-bound on the number of bytes consumed.
This could cause memory exhaustion in the consuming application if the configured OpAMP server is attacker-controlled (or a network attacker can MitM the connection) and an extremely large body is returned in the response.
Details
#2926 introduced the initial HTTP transport components which uses ReadAsByteArrayAsync to copy the HttpResponseMessage.Content into a byte array. This code path allows an unbounded read of the entire HTTP response message.
Impact
If an application using the OpAMP client is configured to use an OpAMP server that is attacker-controlled (or a network attacker can MitM the connection) and an extremely large body is returned in the response, the application could have its memory exhausted and create a denial-of-service condition.
Mitigation
The application's configured OpAMP server needs to behave maliciously. If the OpAMP server is a well-behaved implementation, response bodies should not be excessively large.
Workarounds
None known.
Remediation
#4116 updates the OpAMP client HTTP transport to limit the maximum size of responses to 128KB.
Resources
Executive ViewAI
A high-severity memory exhaustion vulnerability (CVE-2026-42348) in the OpenTelemetry OpAMP client for .NET could allow an attacker who controls or impersonates the configured OpAMP server, or who can man-in-the-middle the HTTP connection, to crash host processes by sending an arbitrarily large response body. This affects only applications using the OpenTelemetry.OpAmp.Client NuGet package (versions before 0.2.0-alpha.1) and is limited to availability impact with no data exposure. Leadership should care because a successful attack could cause service outages in dependent systems, but exploitation requires a compromised or spoofed server endpoint, making it conditional rather than opportunistic.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GHSA-w2jh-77fq-7gp8
NVD
CVE.org
EPSS
Exploit-DB