OpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers
cve-program · CVE-2026-45684
PublishedOpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, 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. This issue has been patched in version 0.9.0.
Read the publisher's advisoryeuvd · EUVD-2026-33957
PublishedOpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, 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. This issue has been patched in version 0.9.0.
Read the publisher's advisorynvd · CVE-2026-45684
PublishedOpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, 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. This issue has been patched in version 0.9.0.
Read the publisher's advisoryosv · GHSA-vvmg-8mjr-g6q3
Published### 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](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/360521f411213566a3b557a1f0c093e6cd68a4de/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.
Read the publisher's advisoryosv · GO-2026-5677
PublishedOpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers in go.opentelemetry.io/obi
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2026-45684
PublishedOpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers
OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, 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. This issue has been patched in version 0.9.0.
- Source published
- 2 Jun 2026 15:25:32 UTC
- Source modified
- 2 Jun 2026 15:55:27 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 4.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
euvd · EUVD-2026-33957
PublishedOpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, OBI's log enricher mishandles writev buffers by reading only the first iovec entry but using t…
OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, 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. This issue has been patched in version 0.9.0.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Jun 2, 2026, 3:25:32 PM
dateUpdated: Jun 2, 2026, 3:55:27 PM
3 related source bulletins · separate from aliases
openSUSE-SU-2026:22032-1: Security update for alloy
CVE-2026-2303 · CVE-2026-37236 · CVE-2026-41178 · CVE-2026-45679 · CVE-2026-45680 · CVE-2026-45681 · CVE-2026-45683 · CVE-2026-45684 · CVE-2026-46600 · CVE-2026-48496 · CVE-2026-56852 · CVE-2026-56854 · CVE-2026-56855 · CVE-2026-71556 · CVE-2026-71557 · CVE-2026-75889 · CVE-2026-78662 · CVE-2026-81521 · CVE-2026-89090
openSUSE-SU-2026:11803-1: alloy-1.19.2-1.1 on GA media
CVE-2026-2303 · CVE-2026-37236 · CVE-2026-41178 · CVE-2026-45679 · CVE-2026-45680 · CVE-2026-45681 · CVE-2026-45683 · CVE-2026-45684 · CVE-2026-46600 · CVE-2026-48496 · CVE-2026-56852 · CVE-2026-56854 · CVE-2026-71556 · CVE-2026-71557 · CVE-2026-75889 · CVE-2026-75890 · CVE-2026-81521 · CVE-2026-89090
SUSE-SU-2026:24148-1: Security update for alloy
CVE-2026-2303 · CVE-2026-37236 · CVE-2026-41178 · CVE-2026-45679 · CVE-2026-45680 · CVE-2026-45681 · CVE-2026-45683 · CVE-2026-45684 · CVE-2026-46600 · CVE-2026-48496 · CVE-2026-56852 · CVE-2026-56854 · CVE-2026-56855 · CVE-2026-71556 · CVE-2026-71557 · CVE-2026-75889 · CVE-2026-78662 · CVE-2026-81521 · CVE-2026-89090
- Source published
- Jun 2, 2026, 3:25:32 PM (timezone not stated)
- Source modified
- Jun 2, 2026, 3:55:27 PM (timezone not stated)
- Saved here
- 24 Nov 2026 04:28:33 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 4.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
nvd · CVE-2026-45684
PublishedOpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, OBI's log enricher mishandles writev buffers by reading only the first iovec entry but using t…
OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, 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. This issue has been patched in version 0.9.0.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-126 · CWE-787
Original publisher date fields
published: 2026-06-02T16:16:43.187
lastModified: 2026-07-22T19:10:00.120
1 source CPE criteria · context only
- cpe:2.3:a:opentelemetry:ebpf_instrumentation:*:*:*:*:*:go:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 2 Jun 2026 16:16:43 UTC
- Source modified
- 22 Jul 2026 19:10:00 UTC
- Saved here
- 25 Oct 2026 12:17:14 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 4.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1 · [email protected] · Primary · 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
osv · GHSA-vvmg-8mjr-g6q3
PublishedOpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers
### 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](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/360521f411213566a3b557a1f0c093e6cd68a4de/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.
- Source published
- 18 May 2026 20:17:57 UTC
- Source modified
- 25 Jun 2026 23:11:20 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher rating · MODERATE
osv · GO-2026-5677
PublishedOpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers in go.opentelemetry.io/obi
OpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers in go.opentelemetry.io/obi
- Source published
- 25 Jun 2026 22:34:38 UTC
- Source modified
- 25 Jun 2026 23:01:25 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.