Improper Handling of Unicode Encoding Affecting golang-opentelemetry-otel package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GOLANGOPENTELEMETRYOTEL-19964095
  • published20 Sept 2026
  • disclosed16 Sept 2026

Introduced: 16 Sep 2026

NewCVE-2026-81869  (opens in a new tab)
CWE-176  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest golang-opentelemetry-otel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-opentelemetry-otel package and not the golang-opentelemetry-otel package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.