CVE-2026-44967
Awaiting Analysis Awaiting Analysis - Queue
OTLP HTTP Exporter Memory Exhaustion in OpenTelemetry-cpp

Publication date: 2026-06-12

Last updated on: 2026-06-12

Assigner: GitHub, Inc.

Description
OpenTelemetry-cpp is the C++ implementation of OpenTelemetry. Prior to release 1.27.0, the OTLP HTTP exporters (traces/metrics/logs) read the full HTTP response into an in-memory vector of bytes without a size cap. This is exploitable for memory exhaustion when the configured collector endpoint is attacker-controlled (or a network attacker can MITM the exporter connection). This vulnerability is fixed in opentelemetry-cpp release 1.27.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-12
Last Modified
2026-06-12
Generated
2026-06-12
AI Q&A
2026-06-12
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
open_telemetry opentelemetry_cpp 1.27.0
open_telemetry opentelemetry_go to 0.19.0 (exc)
open_telemetry opentelemetry_go to 1.43.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-789 The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability in OpenTelemetry-cpp occurs because the OTLP HTTP exporters (for traces, metrics, and logs) read the entire HTTP response into an in-memory vector of bytes without any size limit. This means that if the collector endpoint is attacker-controlled or if a network attacker can intercept the connection, they can send an excessively large HTTP response. The exporter will then allocate a large amount of memory to hold this response, potentially exhausting system memory.

This unbounded memory allocation can lead to out-of-memory (OOM) conditions, causing the instrumented process to crash or become unavailable. The issue is due to the lack of size validation on the HTTP response body before reading it into memory.

The vulnerability was fixed in OpenTelemetry-cpp version 1.27.0 by introducing maximum size limits on HTTP response bodies to prevent excessive memory consumption.

Impact Analysis

This vulnerability can impact you by causing your application or service that uses OpenTelemetry-cpp OTLP HTTP exporters to consume excessive memory when processing HTTP responses from the collector endpoint.

If an attacker controls the collector endpoint or can perform a man-in-the-middle (MITM) attack on the connection, they can send very large HTTP responses that cause the exporter to allocate large amounts of memory.

This can lead to memory exhaustion, resulting in out-of-memory (OOM) conditions that crash the process or degrade availability, effectively causing a denial-of-service (DoS) condition.

The vulnerability has a moderate severity with a CVSS score of 5.3, primarily impacting availability.

Detection Guidance

This vulnerability involves the OTLP HTTP exporter in opentelemetry-cpp reading unbounded HTTP response bodies into memory, potentially causing memory exhaustion. Detection can focus on monitoring for unusually high memory usage or crashes in processes using vulnerable versions of opentelemetry-cpp (prior to 1.27.0).

Since the vulnerability is triggered by large HTTP responses from the configured collector endpoint, network monitoring tools can be used to inspect HTTP traffic to the OTLP endpoint for abnormally large responses.

Suggested commands to detect potential exploitation or vulnerability presence include:

  • Use system monitoring commands to check for high memory usage or crashes in processes using opentelemetry-cpp, e.g., `top`, `htop`, or `ps aux --sort=-rss | head`.
  • Capture and analyze network traffic to the OTLP HTTP endpoint using tools like `tcpdump` or `wireshark` to identify unusually large HTTP response bodies.
  • Use curl or similar HTTP clients to manually query the configured collector endpoint and observe response sizes, e.g., `curl -v <collector_endpoint>`.
  • Check the version of opentelemetry-cpp in use to confirm if it is prior to 1.27.0, which is vulnerable.
Mitigation Strategies

The primary mitigation step is to upgrade the opentelemetry-cpp library to version 1.27.0 or later, where the vulnerability has been fixed by implementing maximum size limits on HTTP response bodies.

Additional immediate steps include:

  • Ensure that the configured OTLP collector endpoint is trusted and not attacker-controlled.
  • Use network security measures to prevent man-in-the-middle (MITM) attacks on the exporter connection, such as enforcing TLS with certificate validation.
  • Monitor application memory usage and logs for signs of memory exhaustion or crashes related to the OTLP HTTP exporter.
  • If upgrading immediately is not possible, consider disabling or limiting the use of OTLP HTTP exporters until a patch can be applied.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-44967. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart