Skip to main content

OpenTelemetry OBI CVE-2026-45683

| EUVDEUVD-2026-33956 LOW
Buffer Under-read (CWE-127)
2026-05-18 https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation GHSA-fjq3-ffvr-vm46
3.8
CVSS 3.1 · GitHub Advisory

Severity by source

GitHub Advisory PRIMARY
3.8 LOW
AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Source Code Evidence Fetched
May 18, 2026 - 20:31 vuln.today
Analysis Generated
May 18, 2026 - 20:31 vuln.today

DescriptionGitHub Advisory

Summary

The Java TLS ioctl probe reads user-controlled ioctl pointers with bpf_probe_read instead of bpf_probe_read_user. An instrumented local process can therefore point OBI at kernel memory and cause that memory to be copied into telemetry.

Details

The vulnerable path is in bpf/generictracer/java_tls.c. The kprobe hooks do_vfs_ioctl, filters on fd == 0 and the Java TLS magic command, and then treats the third ioctl argument as a structured buffer. It reads fields from that pointer using bpf_probe_read, including:

  • the operation byte from arg
  • connection metadata from arg + 1
  • the payload length from arg + 1 + sizeof(connection_info_t)

If len > 0, it computes buf = arg + 1 + sizeof(connection_info_t) + sizeof(u32) and passes that pointer into handle_buf_with_connection.

The next stage, bpf/generictracer/k_tracer_defs.h, uses bpf_probe_read(args->small_buf, MIN_HTTP2_SIZE, (void *)args->u_buf); on the supplied pointer and tail-calls deeper protocol logic. The HTTP protocol path then reads from u_buf and emits the bytes through bpf_ringbuf_output in bpf/generictracer/protocol_http.h.

Because the ioctl pointer originates in user space, the probe should be using bpf_probe_read_user with strict length validation. Using bpf_probe_read instead makes it possible for an instrumented process to supply a kernel pointer and exfiltrate kernel-resident bytes into telemetry.

PoC

A complete lab reproduction requires:

  1. a vulnerable build of OBI with Java TLS instrumentation enabled
  2. a host capable of loading the BPF program
  3. a local process that issues the Java TLS magic ioctl with an attacker-controlled pointer

Suggested reproduction steps:

bash
git checkout v0.0.0-rc.1+build
make build
sudo ./bin/obi

Then run a local helper that issues the matching ioctl command against fd=0 and supplies a crafted pointer.

c
// save as /tmp/ioctl_kernel_ptr.c
#include <stdio.h>
#include <stdint.h>
#include <sys/ioctl.h>
#include <unistd.h>

#define JAVA_TLS_MAGIC 0x0b10b1

int main(void) {
  void *ptr = (void *)0xffff888000000000ULL;
  long rc = ioctl(0, JAVA_TLS_MAGIC, ptr);
  printf("ioctl rc=%ld\n", rc);
  return 0;
}

Compile and run:

bash
cc -O2 -o /tmp/ioctl_kernel_ptr /tmp/ioctl_kernel_ptr.c
/tmp/ioctl_kernel_ptr

On a vulnerable system, if the supplied pointer references readable kernel memory and the bytes satisfy the expected Java TLS structure enough to pass the early checks, OBI can read from that address and emit the resulting bytes into telemetry. The remaining local prerequisite is a host session with sufficient BPF capability to load and inspect the probe; the compile side of the reproduction is already satisfied here.

Impact

This is a local kernel memory disclosure primitive reachable from unprivileged instrumented processes. It affects deployments that enable Java TLS support. Successful exploitation can expose kernel memory contents to the privileged OBI agent and then to downstream telemetry systems.

AnalysisAI

Kernel memory disclosure in OpenTelemetry eBPF Instrumentation (OBI) versions prior to 0.9.0 allows a local authenticated process to exfiltrate arbitrary kernel memory into the OBI telemetry pipeline by supplying a crafted kernel-space pointer to the Java TLS ioctl kprobe. The BPF probe hooks do_vfs_ioctl and incorrectly uses bpf_probe_read - which can dereference any memory address, kernel or user - instead of the boundary-enforcing bpf_probe_read_user, causing the kernel bytes to be emitted via bpf_ringbuf_output into downstream telemetry. Publicly available exploit code exists (PoC published in the GitHub security advisory); no confirmed active exploitation (CISA KEV) has been identified at time of analysis.

Technical ContextAI

The vulnerability resides in the eBPF-based instrumentation layer of OBI, specifically in bpf/generictracer/java_tls.c. The BPF kprobe hooks the kernel function do_vfs_ioctl, filters on fd == 0 and the Java TLS magic command (0x0b10b1), and then dereferences the third ioctl argument as a structured buffer containing an operation byte, connection metadata (connection_info_t), a payload length (u32), and a payload buffer pointer. All field reads use the generic bpf_probe_read helper rather than bpf_probe_read_user. CWE-127 (Buffer Under-read) reflects the root cause: bpf_probe_read can legally dereference kernel virtual addresses, whereas bpf_probe_read_user enforces that reads target only user-space memory. The computed payload pointer is passed to handle_buf_with_connection in k_tracer_defs.h, which again applies bpf_probe_read and tail-calls into protocol logic; the HTTP path ultimately emits the bytes via bpf_ringbuf_output in protocol_http.h, placing kernel-resident bytes into the OBI telemetry ring buffer. The affected package is go.opentelemetry.io/obi (CPE: pkg:go/go.opentelemetry.io_obi), all versions before 0.9.0.

RemediationAI

The primary fix is upgrading OBI to version 0.9.0 or later, which corrects the use of bpf_probe_read to bpf_probe_read_user and is expected to add strict length validation on the ioctl-supplied pointer. The vendor advisory is published at https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-fjq3-ffvr-vm46. If immediate upgrade is not feasible, the most effective compensating control is to disable Java TLS instrumentation in the OBI configuration, which prevents the vulnerable kprobe from loading entirely and eliminates the attack surface; the trade-off is loss of TLS-layer telemetry visibility for Java processes. Restricting which local users can run processes on OBI-instrumented hosts reduces the pool of potential attackers but does not eliminate the vulnerability. There is no network-layer workaround because exploitation is local; revoking BPF-related capabilities (CAP_BPF, CAP_SYS_ADMIN) from untrusted processes is generally advisable hygiene but does not apply to OBI itself, which requires those capabilities to function.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Share

CVE-2026-45683 vulnerability details – vuln.today

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