CVE-2026-81869: CWE-176: Improper Handling of Unicode Encoding in open-telemetry opentelemetry-go
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.
AI Analysis
Technical Summary
OpenTelemetry-Go's sdk/trace/span.go component improperly handles the Unicode replacement character U+FFFD during attribute truncation for string and string-slice attributes. The safeTruncateValidUTF8 function treats this valid Unicode character as invalid UTF-8 and returns the original input without truncation, while strings.ToValidUTF8 leaves the character unchanged. Consequently, repeated truncation attempts can return oversized attribute values that exceed the configured AttributeValueLengthLimit. An attacker controlling span attribute content can exploit this to increase memory usage per span and degrade denial-of-service protections. The vulnerability affects versions >=1.10.0 and <1.33.0 and is resolved in version 1.33.0.
Potential Impact
The vulnerability allows attackers who can control span attribute content to bypass attribute length limits, causing increased memory consumption per span. This can weaken denial-of-service protections in the instrumented process, potentially leading to resource exhaustion or degraded performance. There is no indication of remote code execution or privilege escalation. The CVSS 4.0 score is 5.1 (medium severity), reflecting local attack vector with low complexity and no user interaction required.
Mitigation Recommendations
Upgrade OpenTelemetry-Go to version 1.33.0 or later where this issue is fixed. No other mitigations are indicated. Patch status is confirmed fixed in 1.33.0.
CVE-2026-81869: CWE-176: Improper Handling of Unicode Encoding in open-telemetry opentelemetry-go
Description
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.
CVSS v4.0
Score 5.1medium
Affected software
open-telemetry
opentelemetry-go
pkg:golang/github.com/open-telemetry/opentelemetry-goRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenTelemetry-Go's sdk/trace/span.go component improperly handles the Unicode replacement character U+FFFD during attribute truncation for string and string-slice attributes. The safeTruncateValidUTF8 function treats this valid Unicode character as invalid UTF-8 and returns the original input without truncation, while strings.ToValidUTF8 leaves the character unchanged. Consequently, repeated truncation attempts can return oversized attribute values that exceed the configured AttributeValueLengthLimit. An attacker controlling span attribute content can exploit this to increase memory usage per span and degrade denial-of-service protections. The vulnerability affects versions >=1.10.0 and <1.33.0 and is resolved in version 1.33.0.
Potential Impact
The vulnerability allows attackers who can control span attribute content to bypass attribute length limits, causing increased memory consumption per span. This can weaken denial-of-service protections in the instrumented process, potentially leading to resource exhaustion or degraded performance. There is no indication of remote code execution or privilege escalation. The CVSS 4.0 score is 5.1 (medium severity), reflecting local attack vector with low complexity and no user interaction required.
Mitigation Recommendations
Upgrade OpenTelemetry-Go to version 1.33.0 or later where this issue is fixed. No other mitigations are indicated. Patch status is confirmed fixed in 1.33.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-27T17:48:42.120Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aab005e55bf5e2cf5231de6
Added to database: 09/16/2026, 20:47:26 UTC
Last enriched: 09/16/2026, 22:02:31 UTC
Last updated: 09/17/2026, 03:08:45 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.