Skip to main content

OpenTelemetry eBPF CVE-2026-45681

| EUVDEUVD-2026-33955 MEDIUM
Out-of-bounds Read (CWE-125)
2026-05-18 https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation GHSA-r6c9-g6q5-qrf9
5.9
CVSS 3.1 · Vendor: https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send high-volume HTTP traffic to OBI-instrumented service
  2. Delivery
    Producer CPU records 8KB buffer entry with large real_size
  3. Exploit
    CPU scheduler causes consumer to run on mismatched CPU
  4. Execution
    Fallback path selected with unmodified real_size
  5. Persist
    OBI over-reads 256B fallback buffer by up to 7,936 bytes
  6. Impact
    Adjacent kernel memory exported via telemetry pipeline

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Four specific conditions must all be simultaneously true for exploitation: (1) context propagation must be enabled in OBI configuration, activating the tpinjector sock_msg code path; (2) HTTP large-buffer capture must be configured with a non-zero size, causing real_size to be set to values up to 8192 bytes; (3) a CPU mismatch must occur between the producer and consumer contexts - the producer stores a buffer entry tagged with one cpu_id, and the consumer runs on a different CPU, triggering the fallback path in k_tracer.c; (4) host BPF attach/load capability must be available, as OBI's eBPF probes require kernel BPF subsystem access. Exploitation is limited by: the CPU mismatch is a race condition dependent on multi-core scheduling and is not reliably triggerable on demand; the three configuration flags are not all active in minimal or default OBI deployments; and BPF attachment typically requires elevated privileges (CAP_BPF or equivalent). An attacker cannot directly cause a CPU mismatch from the network - they can only influence timing through high HTTP traffic volume. The CVSS AV:N reflects that the traffic triggering the condition originates from the network, not that a remote unauthenticated attacker directly controls the over-read.

Impact

The CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects a meaningful tension between its high confidentiality impact and the elevated attack complexity. AC:H is consistent with the description: the over-read requires a CPU mismatch race condition between producer and consumer contexts, which is not reliably triggerable on demand and depends on multi-core scheduling behavior. PR:N and UI:N indicate no authentication or user interaction is required once the preconditions are met, but the full attack chain also requires host BPF load/attach capability (a privileged kernel operation) plus three specific configuration flags to be active simultaneously. No KEV listing exists, meaning active in-the-wild exploitation is not confirmed by CISA. Publicly available exploit code exists in the form of a user-space ASan PoC that validates the size-mismatch class, though the PoC author explicitly notes the full end-to-end eBPF path was not demonstrated and requires host BPF capabilities. EPSS data was not provided in the input, so exploitation probability cannot be quantified. In practice this is a real but operationally constrained vulnerability: organizations running OBI with context propagation, tpinjector, and large-buffer HTTP capture enabled on multi-core hosts face genuine risk of kernel-adjacent memory leaking into distributed telemetry pipelines, but the multi-condition prerequisite significantly narrows the realistic attack surface versus the CVSS C:H score alone.

Exploit ScenarioDerived

On a multi-core host running OBI with context propagation enabled, tpinjector sock_msg active, and HTTP large-buffer capture configured, an HTTP request is processed such that the producing CPU populates an 8KB per-CPU buffer with real_size set to a large value, then a consumer on a different CPU encounters the mismatch and falls back to fallback_buf. OBI reads up to 8KB from the 256-byte fallback buffer, over-reading adjacent kernel memory, and exports that raw memory content as part of the HTTP tracing telemetry stream. Publicly available exploit code exists as a user-space AddressSanitizer PoC confirming the size-mismatch class, though the full end-to-end eBPF path requires host BPF attach/load privilege.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Out-of-bounds memory read in OpenTelemetry eBPF Instrumentation (OBI) prior to 0.9.0 exposes adjacent kernel memory through the HTTP tracing telemetry pipeline. The vulnerable path arises in the per-CPU message-buffer fallback logic in k_tracer.c and protocol_http.h: when a CPU mismatch occurs between producer and consumer contexts, OBI substitutes the 256-byte fallback_buf as the source buffer while retaining real_size values of up to 8KB, causing an over-read of up to 7,936 bytes of adjacent memory that is subsequently exported in telemetry. No public exploit identified at time of analysis, though publicly available exploit code exists as a validated user-space AddressSanitizer PoC demonstrating the same size-mismatch over-read class.

RemediationAI

The primary fix is to upgrade go.opentelemetry.io/obi to version 0.9.0, which is confirmed as the patched release per GitHub Advisory GHSA-r6c9-g6q5-qrf9 (https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-r6c9-g6q5-qrf9). If immediate upgrade is not possible, the following compensating controls reduce exposure: disable context propagation in OBI configuration to prevent the tpinjector sock_msg path from activating (trade-off: distributed trace context will not be propagated across service boundaries); set HTTP large-buffer capture size to zero to prevent real_size from exceeding the fallback buffer size (trade-off: HTTP payloads larger than the base buffer will not be captured); or restrict OBI deployment to single-CPU or CPU-pinned environments where producer-consumer CPU mismatches cannot occur (trade-off: limits horizontal scalability). Any of these controls, if reliably enforced, would prevent the vulnerable code path from being reached. Note that all three configuration conditions must be active simultaneously for the vulnerability to trigger, so disabling any single one of them is sufficient as a workaround.

Affected VersionsENISA

opentelemetry-ebpf-instrumentation < 0.9.0

Affected Packages

go go.opentelemetry.io/obi fix: 0.9.0
euvd opentelemetry_ebpf_instrumentation fix: 0.9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OBI is a Go-based eBPF instrumentation agent (pkg:go/go.opentelemetry.io/obi) that instruments HTTP and HTTP2 traffic via kernel probes and socket message hooks. The msg_buffer_t struct (bpf/common/msg_buffer.h) contains both an 8KB per-CPU primary buffer and a 256-byte fallback_buf. The 8KB primary buffer size is governed by k_kprobes_http2_buf_size (defined in bpf/common/http_buf_size.h), while real_size in tpinjector.c can be set to up to 8192 bytes and is stored alongside cpu_id. When the consumer's CPU ID does not match the producer's, k_tracer.c (lines 370-394) substitutes fallback_buf as the read source but does not update real_size, passing the original up-to-8KB size downstream. protocol_http.h (lines 412-441) then uses bytes_len derived from m_buf->real_size to copy payload data from u_buf, which in the mismatch case is the 256-byte fallback - resulting in a CWE-125 (Out-of-Bounds Read) of up to 7,936 bytes beyond the buffer boundary. The leaked memory is subsequently emitted through telemetry, making this a confidentiality-impacting data exfiltration path within the eBPF instrumentation layer.

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

Vendor (https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
SUSE MEDIUM

Primary rating from Vendor (https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation).

CVSS VectorVendor: https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Summary

The per-CPU message-buffer fallback path uses a 256-byte backup buffer but preserves the original payload size, which can be up to 8KB. If a CPU mismatch occurs, OBI can read beyond the fallback buffer and leak adjacent memory into telemetry.

Details

https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/032473449b53d9f02ec4619d4f5b84e6a81db362/bpf/common/http_buf_size.h#L4-L7

k_kprobes_http2_buf_size is defined as 256 bytes, the size of the fallback buffer.

https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/032473449b53d9f02ec4619d4f5b84e6a81db362/bpf/common/msg_buffer.h#L12-L36

Introduces 8KB per-CPU buffer and 256-byte fallback_buf in msg_buffer_t, creating a size mismatch for fallback use.

https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/032473449b53d9f02ec4619d4f5b84e6a81db362/bpf/generictracer/k_tracer.c#L370-L394

On CPU mismatch, fallback_buf is used but size is still set to m_buf->real_size (up to 8KB) and passed downstream.

https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/032473449b53d9f02ec4619d4f5b84e6a81db362/bpf/generictracer/protocol_http.h#L412-L441

bytes_len (from m_buf->real_size) is used to read payload data from u_buf; if u_buf is the 256B fallback, this can over-read and leak memory into telemetry.

https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/032473449b53d9f02ec4619d4f5b84e6a81db362/bpf/tpinjector/tpinjector.c#L192-L206

real_size is set up to 8192 bytes and stored with cpu_id; fallback_buf only contains 256 bytes.

PoC

Local testing with an AddressSanitizer user-space PoC reproduced the same class of size-mismatch over-read as the vulnerable fallback-buffer path. That result is sufficient to ground the advisory in a fresh local reproduction even though the exact end-to-end eBPF path still depends on host BPF capabilities.

To reproduce the validated behavior locally:

  1. create a struct that models fallback_buf[256] and real_size
  2. populate only the 256-byte fallback buffer
  3. simulate the CPU mismatch path by using the fallback buffer as the source pointer while preserving a much larger real_size
  4. perform a read of real_size bytes from that 256-byte backing store under ASan

An equivalent reproducer is:

c
// save as /tmp/poc_msgbuf_oob.c
#include <stdint.h>
#include <stdio.h>
#include <string.h>

struct msg_buffer {
  unsigned char fallback_buf[256];
  uint16_t pos;
  uint16_t real_size;
  uint32_t cpu_id;
};

int main(void) {
  struct msg_buffer m = {0};
  unsigned char sink[8192];

  memset(m.fallback_buf, 'A', sizeof(m.fallback_buf));
  m.real_size = 4096;

  memcpy(sink, m.fallback_buf, m.real_size);
  printf("copied %u bytes from a 256-byte fallback buffer\n", m.real_size);
  return 0;
}

Compile and run with ASan:

bash
cc -fsanitize=address -O1 -g -o /tmp/poc_msgbuf_oob /tmp/poc_msgbuf_oob.c
ASAN_OPTIONS=abort_on_error=1 /tmp/poc_msgbuf_oob

Expected result:

text
AddressSanitizer: heap-buffer-overflow or stack-buffer-overflow

That user-space PoC matches the size-mismatch condition in the vulnerable code path, even though the exact end-to-end eBPF runtime path still requires host BPF attach/load capability.

Impact

This is a confidentiality issue in the HTTP tracing path. The vulnerable read occurs in OBI's local fallback-buffer handling when context propagation is enabled, the tpinjector sock_msg path is active, HTTP large-buffer capture is configured with a non-zero size, and a CPU mismatch occurs between producer and consumer contexts. Under those conditions, OBI can over-read from the fallback buffer and export unrelated memory through telemetry.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy