Skip to main content

OpenTelemetry OBI EUVDEUVD-2026-33957

| CVE-2026-45684 MEDIUM
Buffer Over-read (CWE-126)
2026-05-18 https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation GHSA-vvmg-8mjr-g6q3
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Local access to OBI-instrumented host
  2. Delivery
    Execute process issuing multi-segment writev with short first iovec
  3. Exploit
    OBI eBPF probe fires and reads iov_iter.count instead of iov[0].iov_len
  4. Execution
    bpf_probe_read_user copies bytes beyond first segment into log event (memory disclosure)
  5. Persist
    bpf_probe_write_user zeroes memory past first iovec boundary (memory corruption)
  6. Impact
    Adjacent application buffers corrupted or process destabilized

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) OBI must be actively attached to the target process with the log enrichment (log injection) feature explicitly enabled - deployments that run OBI without log enrichment are not affected; (2) the instrumented process must issue a writev syscall with two or more iovec segments where the first segment's length (iov[0].iov_len) is smaller than the total iov_iter.count - this is a normal usage pattern for many logging libraries and standard I/O paths; and (3) the attacker must have local code execution on the host, or the ability to influence the instrumented process to issue such a writev call (e.g., via a library or plugin loaded into the instrumented process). High complexity (AC:H) means that the severity of the resulting corruption depends on memory allocator layout at the time of the overwrite - deterministic code execution is not guaranteed, but memory disclosure and output corruption are reliably reproducible per the POC. Authentication requirements are not confirmed from CVSS alone - PR:N indicates no privileges are required to trigger the writev, but attaching OBI itself requires elevated (sudo) privileges, which is an operator-controlled deployment precondition, not an attacker-controlled one.

Impact

The CVSS 3.1 base score of 4.9 with vector AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L reflects a moderate but nuanced risk profile. Local attack vector (AV:L) caps realistic exposure to environments where untrusted local processes run alongside OBI-instrumented workloads - a plausible scenario in shared container hosts or multi-tenant Kubernetes nodes where OBI is deployed for observability. High complexity (AC:H) acknowledges that memory layout must align favorably for corruption to land on sensitive state, and the POC advisory itself notes that process instability requires specific allocator conditions. No privileges are required (PR:N) because the attacker only needs to execute a process that calls writev - no escalated privileges are needed to trigger the probe. The confidentiality and integrity impacts are both low (C:L/I:L), consistent with partial memory disclosure and limited, localized corruption rather than full process control. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV, suggesting no confirmed active exploitation. However, a working POC is embedded in the GitHub advisory and is readily reproducible, lowering the bar for exploitation. For environments running OBI with log injection enabled on latency-sensitive or security-sensitive processes, the real-world risk exceeds what the CVSS score alone suggests, because the integrity impact of silently corrupted log data or destabilized instrumented processes can have downstream observability and reliability consequences.

Exploit ScenarioDerived

An attacker with local code execution on a host running OBI with log enrichment enabled writes a process that issues a multi-segment writev call - for example, with a short first iovec (8 bytes) and a large second iovec (256 bytes). When OBI's eBPF probe fires, it reads 264 bytes starting from the 8-byte buffer, overreading 256 bytes of adjacent heap memory into the log event and then zeroing those same 256 bytes in the application's address space. A working proof-of-concept demonstrating this condition is included in the GitHub security advisory GHSA-vvmg-8mjr-g6q3 and was confirmed to reproduce the out-of-bounds behavior under ASan instrumentation.

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 read and write in OpenTelemetry eBPF Instrumentation (OBI) versions 0.7.0 through 0.8.x allows a local attacker to corrupt application memory and leak adjacent buffer contents by triggering a multi-segment writev call against a process instrumented with log enrichment enabled. The eBPF log enricher incorrectly uses the total iov_iter.count as the copy length while only resolving the first iovec segment, causing bpf_probe_read_user and bpf_probe_write_user to access memory beyond the first segment boundary. No public exploit identified at time of analysis, though a working proof-of-concept was included in the GitHub security advisory and confirmed to reproduce the out-of-bounds condition under ASan and debugger instrumentation.

RemediationAI

The primary remediation is to upgrade go.opentelemetry.io/obi to version 0.9.0 or later, which contains the fix for the __fill_iov and __write mismatch in the log enricher eBPF path. The vendor-released patch version is confirmed as 0.9.0 per the GitHub advisory GHSA-vvmg-8mjr-g6q3 at https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-vvmg-8mjr-g6q3. If an immediate upgrade is not feasible, the most effective compensating control is to disable log injection entirely by not enabling the log enrichment feature in OBI's configuration - this removes the vulnerable code path from execution entirely, with the trade-off of losing automatic log correlation. Alternatively, restricting OBI from instrumenting processes that issue multi-segment writev calls (for example, by scoping OBI's PID attachment to only trusted, single-iovec workloads) reduces exposure but requires per-workload audit and is difficult to enforce durably. There is no eBPF-level filter that can safely distinguish safe writev patterns from vulnerable ones without fixing the underlying index/count mismatch. Patching to 0.9.0 is strongly preferred over either workaround.

Affected VersionsENISA

opentelemetry-ebpf-instrumentation 0.7.0, < 0.9.0

Affected Packages

go go.opentelemetry.io/obi fix: 0.9.0
euvd opentelemetry_ebpf_instrumentation_0_7_0 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 the OpenTelemetry eBPF Instrumentation agent (package go.opentelemetry.io/obi), which uses Linux eBPF probes to intercept system calls - including write and writev - for automatic log enrichment. The writev syscall accepts an array of iovec structures (a scatter-gather I/O list); each iovec describes a separate memory segment with its own base pointer and length, and iov_iter.count holds the total byte count across all segments. The vulnerable code in bpf/logenricher/logenricher.c at __fill_iov resolves only iov_ctx.iov[0], giving a pointer and length for the first segment only. The __write function then reads BPF_CORE_READ(from, count) - the aggregate count - and stores it in e->len, which is subsequently passed to bpf_probe_read_user and bpf_probe_write_user using iov[0].iov_base as the starting address. When iov_iter.count exceeds iov[0].iov_len, both eBPF helpers operate past the end of the first segment, constituting a CWE-126 buffer over-read (and a corresponding over-write via the zero-fill). The flaw is architectural: the segment count is read from the kernel iov_iter structure correctly, but the probe never iterates to validate against the per-segment length.

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

NVD PRIMARY 5.3 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
SUSE 4.9 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

1
CVSS changed
Jul 22, 2026 - 19:22 NVD
4.9 (MEDIUM) 5.3 (MEDIUM)

DescriptionNVD

Summary

OBI's log enricher mishandles writev buffers by reading only the first iovec entry but using the total iov_iter.count as the copy length. When log injection is enabled, a crafted multi-segment writev call can make OBI read and overwrite memory beyond the first segment.

Details

In bpf/logenricher/logenricher.c#L50, __fill_iov resolves only one struct iovec, specifically iov_ctx.iov[0] for ITER_IOVEC. The returned iov therefore describes only the first write segment.

However, __write later uses const size_t count = BPF_CORE_READ(from, count);, which is the total byte count across all segments in the iterator. That total is stored in e->len and used in bpf_probe_read_user(e->log, e->len, iov.iov_base) and bpf_probe_write_user(iov.iov_base, zero, to_write).

If count exceeds iov.iov_len, OBI reads and then zeroes memory past the end of the first segment. In practice, this can corrupt adjacent application buffers, leak memory into log events, and in some layouts destabilize the instrumented process.

PoC

Local testing with a minimal ASan harness reproduced the same out-of-bounds read/write condition as the vulnerable writev path.

Use a vulnerable build with the log enricher enabled.

bash
git checkout v0.7.0
make build

Create a program that performs a two-element writev, where the first buffer is short and the second is large:

c
// save as /tmp/writev-poc.c
#define _GNU_SOURCE
#include <sys/uio.h>
#include <unistd.h>
#include <string.h>

int main(void) {
  char a[8] = "HELLO\n";
  char b[256];
  memset(b, 'B', sizeof(b));

  struct iovec iov[2];
  iov[0].iov_base = a;
  iov[0].iov_len = sizeof(a);
  iov[1].iov_base = b;
  iov[1].iov_len = sizeof(b);

  for (;;) {
    writev(1, iov, 2);
    usleep(10000);
  }
}

Compile and run it:

bash
cc -O2 -o /tmp/writev-poc /tmp/writev-poc.c
/tmp/writev-poc >/dev/null

Attach OBI with log enrichment enabled to the running process:

bash
PID=$(pgrep -f /tmp/writev-poc)
sudo ./bin/obi --pid "$PID"

On a vulnerable build, OBI copies iov_iter.count bytes starting from iov[0].iov_base, even though iov[0] is only 8 bytes long. Depending on allocator layout, you will see one of the following:

  1. log events that include bytes beyond HELLO\n
  2. corrupted stdout content because OBI zeroed memory beyond the first iovec
  3. process instability or a crash

The issue is easiest to observe under a debugger or with ASan-enabled builds of the target program, but those are not required.

Impact

This is a memory safety flaw in the log-enrichment eBPF path. It affects deployments that enable log injection and instrument applications that write logs through writev. An attacker who can trigger the vulnerable local writev pattern inside the instrumented process can cause memory corruption or disclosure in that process. The most direct effects are corrupted output and adjacent-memory disclosure, with process instability possible if the overwrite lands on sensitive state.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% 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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

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