{"id":"GHSA-vvmg-8mjr-g6q3","revision":null,"records":[{"revision":"b0ae3bb4b0d9493e984f48c6508dc481","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45684","aliases":[],"title":"OpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers","description":"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.","state":0,"publishedAt":"2026-06-02T15:25:32.538+00:00","modifiedAt":"2026-06-02T15:55:27.505+00:00","affected":[{"ecosystem":"Vendor product","name":"opentelemetry-ebpf-instrumentation","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"open-telemetry\",\n                    \"product\": \"opentelemetry-ebpf-instrumentation\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.7.0, < 0.9.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":4.9,"severity":"MEDIUM"}],"references":["https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-vvmg-8mjr-g6q3","https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/releases/tag/v0.9.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45684","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45684","identifiers":["CVE-2026-45684"]},"retained":false,"historicalAffected":[]},{"revision":"350f46755d9d4722b0f0e9d8c02d7bd2","observedAt":"2026-11-24T04:28:33.105+00:00","statement":{"source":"euvd","id":"EUVD-2026-33957","aliases":["CVE-2026-45684","GHSA-vvmg-8mjr-g6q3"],"title":"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 t…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":4.9,"severity":null}],"references":["https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-vvmg-8mjr-g6q3","https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/releases/tag/v0.9.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-33957","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 2, 2026, 3:25:32 PM","dateUpdated":"Jun 2, 2026, 3:55:27 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2026:22032-1","title":"Security update for alloy","vulnerabilityIds":["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"]},{"id":"openSUSE-SU-2026:11803-1","title":"alloy-1.19.2-1.1 on GA media","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2026:24148-1","title":"Security update for alloy","vulnerabilityIds":["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"]}],"note":"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."},"key":"euvd:EUVD-2026-33957","identifiers":["EUVD-2026-33957","CVE-2026-45684","GHSA-vvmg-8mjr-g6q3"]},"retained":false,"historicalAffected":[]},{"revision":"0cea947a0e164fff9e976491686572a3","observedAt":"2026-10-25T12:17:14.897+00:00","statement":{"source":"nvd","id":"CVE-2026-45684","aliases":[],"title":"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 t…","description":"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.","state":0,"publishedAt":"2026-06-02T16:16:43.187+00:00","modifiedAt":"2026-07-22T19:10:00.12+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":4.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/releases/tag/v0.9.0","https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-vvmg-8mjr-g6q3"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45684","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-126","CWE-787"],"productCriteria":["cpe:2.3:a:opentelemetry:ebpf_instrumentation:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2026-06-02T16:16:43.187","lastModified":"2026-07-22T19:10:00.120"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2026-45684","identifiers":["CVE-2026-45684"]},"retained":false,"historicalAffected":[]},{"revision":"c14d5c137c184c38a80d81e6f70d872d","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-vvmg-8mjr-g6q3","aliases":["CVE-2026-45684","GO-2026-5677"],"title":"OpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers","description":"### Summary\n\nOBI'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.\n\n### Details\n\nIn [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.\n\nHowever, `__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)`.\n\nIf `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.\n\n### PoC\n\nLocal testing with a minimal ASan harness reproduced the same out-of-bounds read/write condition as the vulnerable `writev` path.\n\nUse a vulnerable build with the log enricher enabled.\n\n```bash\ngit checkout v0.7.0\nmake build\n```\n\nCreate a program that performs a two-element `writev`, where the first buffer is short and the second is large:\n\n```c\n// save as /tmp/writev-poc.c\n#define _GNU_SOURCE\n#include <sys/uio.h>\n#include <unistd.h>\n#include <string.h>\n\nint main(void) {\n  char a[8] = \"HELLO\\n\";\n  char b[256];\n  memset(b, 'B', sizeof(b));\n\n  struct iovec iov[2];\n  iov[0].iov_base = a;\n  iov[0].iov_len = sizeof(a);\n  iov[1].iov_base = b;\n  iov[1].iov_len = sizeof(b);\n\n  for (;;) {\n    writev(1, iov, 2);\n    usleep(10000);\n  }\n}\n```\n\nCompile and run it:\n\n```bash\ncc -O2 -o /tmp/writev-poc /tmp/writev-poc.c\n/tmp/writev-poc >/dev/null\n```\n\nAttach OBI with log enrichment enabled to the running process:\n\n```bash\nPID=$(pgrep -f /tmp/writev-poc)\nsudo ./bin/obi --pid \"$PID\"\n```\n\nOn 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:\n\n1. log events that include bytes beyond `HELLO\\n`\n2. corrupted stdout content because OBI zeroed memory beyond the first iovec\n3. process instability or a crash\n\nThe issue is easiest to observe under a debugger or with ASan-enabled builds of the target program, but those are not required.\n\n### Impact\n\nThis 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.","state":0,"publishedAt":"2026-05-18T20:17:57+00:00","modifiedAt":"2026-06-25T23:11:20.4982156+00:00","affected":[{"ecosystem":"Go","name":"go.opentelemetry.io/obi","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.7.0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-vvmg-8mjr-g6q3","https://nvd.nist.gov/vuln/detail/CVE-2026-45684","https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation","https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/releases/tag/v0.9.0"],"sourceUrl":"https://github.com/advisories/GHSA-vvmg-8mjr-g6q3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vvmg-8mjr-g6q3","identifiers":["GHSA-vvmg-8mjr-g6q3","CVE-2026-45684","GO-2026-5677"]},"retained":false,"historicalAffected":[]},{"revision":"2f38d7f24b494a3f84ed4a4b8d3e5782","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5677","aliases":["CVE-2026-45684","GHSA-vvmg-8mjr-g6q3"],"title":"OpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers in go.opentelemetry.io/obi","description":"OpenTelemetry eBPF Instrumentation: Log enricher writev path can overread and overwrite user buffers in go.opentelemetry.io/obi","state":0,"publishedAt":"2026-06-25T22:34:38+00:00","modifiedAt":"2026-06-25T23:01:25.6083821+00:00","affected":[{"ecosystem":"Go","name":"go.opentelemetry.io/obi","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.7.0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-vvmg-8mjr-g6q3","https://nvd.nist.gov/vuln/detail/CVE-2026-45684","https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/releases/tag/v0.9.0"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5677","license":"OSV · upstream source license applies","key":"osv:GO-2026-5677","identifiers":["GO-2026-5677","CVE-2026-45684","GHSA-vvmg-8mjr-g6q3"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T09:25:37.2651882+00:00","complete":true,"records":1792,"lastAttemptAt":"2026-11-24T09:25:37.2651882+00:00","lastSuccessAt":"2026-11-24T09:25:37.4329555+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:25:37.4329557+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-eef9d23235ded3b54dd9319037aeb9f24987082c9b2f99e370fe47aef8386c53","complete":true,"records":431062,"lastAttemptAt":"2026-11-24T09:25:33.0075136+00:00","lastSuccessAt":"2026-11-24T09:25:32.9549781+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:25:33.0075136+00:00","snapshotPublishedAt":"2026-11-24T08:31:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-988239e91e9d440da44005139876db11","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T09:35:37.1821767+00:00","lastSuccessAt":"2026-11-24T09:35:36.159+00:00","error":"516 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T09:35:36.159+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13062,"expectedIdentifiers":13982,"failedIdentifiers":516},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T09:25:37.2651882+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T09:25:37.2651882+00:00","lastSuccessAt":"2026-11-24T09:25:37.43374+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:25:37.4337401+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4de8eb7c97af4f4ab65754cdb567a95c","complete":false,"records":13947,"lastAttemptAt":"2026-11-24T09:26:02.6324758+00:00","lastSuccessAt":"2026-11-24T09:26:02.628+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:26:02.628+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13782,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c86437892ddabdeaf17409463a17578b1e71dd185d64061100dd57629858f6d6","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T09:25:33.6492506+00:00","lastSuccessAt":"2026-11-23T22:27:19.6557603+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:25:33.6492506+00:00","snapshotPublishedAt":"2026-11-23T21:33:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T09:25:33.0690816+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:25:33.0690816+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5032ead8e11c740c3590012b28a5d3af48094ac2e70a01aa0bfa0f6037760717","complete":true,"records":3218,"lastAttemptAt":"2026-11-24T09:25:37.2319658+00:00","lastSuccessAt":"2026-11-24T09:25:37.1066761+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:25:37.2319658+00:00","snapshotPublishedAt":"2026-11-24T08:48:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-b3f815f4b80e6ee7009a469e05600427b49c4c540d96b9bae57af39cb7a4c7df","complete":true,"records":232959,"lastAttemptAt":"2026-11-24T09:25:33.544189+00:00","lastSuccessAt":"2026-11-24T08:27:06.9384925+00:00","error":null,"lastVerifiedAt":"2026-11-24T09:25:33.544189+00:00","snapshotPublishedAt":"2026-11-24T07:33:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}