All vulnerabilities

Go

CVE-2026-128085

opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes

Severity
Medium 5.3
Published
13 Nov 2026
Last changed
13 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.47.0
Exploit chance
0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-135Allocation without limits (CWE-770)
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Also known as
GHSA-q7gw-24fr-5p69
Sources
OSV.dev and GitHub

Description

The AttributeValueLengthLimit span/log-record limit can be bypassed entirely with attribute values that consist of valid U+FFFD (REPLACEMENT CHARACTER) runes. The counting-based truncation introduced by the fix for GHSA-p9f8-wvj8-2fg8 (commit e016a78c9, first released in v1.33.0) has an "optimistic" fast path that skips every U+FFFD without counting it and without falling back to the correct slow path. A value of 1000 U+FFFD runes (3000 bytes) is stored verbatim even with a limit of 5 characters (15 bytes). The same defect affects the attribute truncation paths in go.opentelemetry.io/otel/sdk/trace (sdk/internal/attrnorm), go.opentelemetry.io/otel/sdk/log (sdk/log/internal/attrnorm), and the auto-instrumentation tracer in go.opentelemetry.io/otel/trace (trace/auto.go, introduced in v1.35.0).

This is an incomplete-fix issue: it is a distinct defect in the replacement code that GHSA-p9f8-wvj8-2fg8 introduced, affecting exactly the versions that advisory says are fixed (>= v1.33.0).

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
go.opentelemetry.io/otel/sdkGo · osv:Go:go.opentelemetry.io/otel/sdk
  • From 1.33.0 before 1.47.0
go.opentelemetry.io/otel/sdk/logGo · osv:Go:go.opentelemetry.io/otel/sdk/log
  • From 0.9.0 before 1.47.0
go.opentelemetry.io/otel/traceGo · osv:Go:go.opentelemetry.io/otel/trace
  • From 1.35.0 before 1.47.0

About go.opentelemetry.io/otel/sdk

This is the only vulnerability in go.opentelemetry.io/otel/sdk in our list.

About go.opentelemetry.io/otel/sdk/log

This is the only vulnerability in go.opentelemetry.io/otel/sdk/log in our list.

About go.opentelemetry.io/otel/trace

This is the only vulnerability in go.opentelemetry.io/otel/trace in our list.

References