CVE-2026-81869 PUBLISHED

OpenTelemetry-Go: UTF-8 replacement rune bypasses attribute length truncation

Assigner: GitHub_M
Reserved: 27.08.2026 Published: 16.09.2026 Updated: 16.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 5.1

Product Status

Vendor open-telemetry
Product opentelemetry-go
Versions
  • Version >= 1.10.0, < 1.33.0 is affected

References

Problem Types

  • CWE-176: Improper Handling of Unicode Encoding CWE
  • CWE-400: Uncontrolled Resource Consumption CWE