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.
Affected products
opentelemetry: opentelemetry
References5
- github.com/open-telemetry/opentelemetry-cpp/security/advisories… Vendor Advisory
- github.com/open-telemetry/opentelemetry-go/security/advisories/… Not ApplicableVendor Advisory
- github.com/open-telemetry/opentelemetry-go/security/advisories/… Not ApplicableVendor Advisory
- github.com/open-telemetry/opentelemetry-cpp/issues/3958 Issue Tracking
- github.com/open-telemetry/opentelemetry-cpp/pull/4078 Issue Tracking
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: NVD
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 11 · as of 16 November 2026
- CWE
- CWE-789
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.