Skip to main content

CVE-2026-81869: CWE-176: Improper Handling of Unicode Encoding in open-telemetry opentelemetry-go

0
Medium
VulnerabilityCVE-2026-81869cvecve-2026-81869cwe-176cwe-400
Published: 09/16/2026 (09/16/2026, 20:41:15 UTC)
Source: CVE Database V5
Vendor/Project: open-telemetry
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

open-telemetry

opentelemetry-go

Affected versions
>=1.10.0 <1.33.0
github.com/open-telemetry/opentelemetry-go
pkg:golang/github.com/open-telemetry/opentelemetry-go
Affected versions
>=1.10.0 <1.33.0

Run 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

AILast updated: 09/16/2026, 22:02:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses