CVE-2026-81869OpenTelemetry-Go: UTF-8 replacement rune bypasses attribute length truncation
OpenTelemetry-Go is the Go implementation of OpenTelemetry. From version 1.10.0 until 1.33.0, the sdk/trace/span.go attribute truncation path can fail to enforce AttributeValueLengthLimit for string and string-slice attributes containing the valid Unicode replacement character U+FFFD. safeTruncateValidUTF8 treats the valid replacement rune as invalid UTF-8 and returns the original input, while strings.ToValidUTF8 leaves that valid rune unchanged, so a second safeTruncate attempt can also return the oversized value. An attacker who controls span attribute content can retain values longer than the configured limit, increasing per-span memory use and weakening denial-of-service protection in the instrumented process. This issue is fixed in version 1.33.0.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-opentelemetry-otel | Fix pending | UBUNTU-CVE-2026-81869 | |
| Ubuntu 26.04 | golang-opentelemetry-otel | Under investigation | UBUNTU-CVE-2026-81869 | |
| Ubuntu 24.04 | golang-opentelemetry-otel | Under investigation | UBUNTU-CVE-2026-81869 | |
| Ubuntu 22.04 | golang-opentelemetry-otel | Under investigation | UBUNTU-CVE-2026-81869 | |
| Debian 14 | golang-opentelemetry-otel | Fixed | 1.43.0-1 | DEBIAN-CVE-2026-81869 |
| Debian 13 | golang-opentelemetry-otel | Fix pending | DEBIAN-CVE-2026-81869 | |
| Go library | go.opentelemetry.io/otel/sdk | Fixed | 1.33.0 | GHSA-p9f8-wvj8-2fg8 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- open-telemetry opentelemetry-go: affected: >= 1.10.0, < 1.33.0
References
- https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-p9f8-wvj8-2fg8
- https://github.com/open-telemetry/opentelemetry-go/issues/5996
- https://github.com/open-telemetry/opentelemetry-go/pull/5997
- https://github.com/open-telemetry/opentelemetry-go/commit/e016a78c9f5b24a1c2beeaad47686c2f2213f49a
- https://github.com/open-telemetry/opentelemetry-go/releases/tag/sdk/v1.33.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.