Skip to main content

OpenTelemetry-Go SDK CVE-2026-128085

| EUVDEUVD-2026-125715 MEDIUM
Incorrect Calculation of Multi-Byte String Length (CWE-135)
2026-11-13 GitHub_M GHSA-q7gw-24fr-5p69
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Influence input recorded as telemetry attribute
  2. Exploit
    Submit U+FFFD-dominated attribute value
  3. Execution
    Bypass AttributeValueLengthLimit truncation (uncounted runes)
  4. Impact
    Inflate retained memory and telemetry pipeline pressure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture String length calculation
Exploitation Conditions

Exploitation requires that the instrumented application records attacker-influenced string data into span attributes (sdk/internal/attrnorm), log-record attributes (sdk/log/internal/attrnorm), or auto-instrumentation trace attributes (trace/auto.go), AND that an AttributeValueLengthLimit (or WithAttributeValueLengthLimit) truncation bound is in effect as a memory safeguard - the bypass is only observable where such a limit is configured to cap attribute size. The triggering values must consist of, or be dominated by, valid U+FFFD (U+FFFD REPLACEMENT CHARACTER, 3-byte) runes, which the optimistic truncation path neither counts nor truncates; purely ASCII over-limit values are still truncated correctly. Limiting factors that reduce realistic risk: impact is confined to availability (increased retained memory and pipeline pressure, no confidentiality/integrity effect); exposure depends on attacker ability to steer attribute content and on the limit feature being enabled; and affected versions are bounded to sdk >=1.33.0, sdk/log >=0.9.0, and trace >=1.35.0 below 1.47.0. The only complete fix stated by the vendor is upgrading to 1.47.0, which counts valid U+FFFD runes toward the length limit.

Impact

This is a genuine but low-urgency, availability-only issue, not a high-severity emergency. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, base 5.3) is self-consistent with the description: no confidentiality or integrity impact, only availability (A:L) via increased retained memory and telemetry pipeline pressure. No EPSS score and no CISA KEV entry are present in the supplied data (their absence is not itself a defect). The vuln.today decision label is 'this_month' - i.e. scheduled remediation, not act_now/emergency - which aligns with an availability-only CWE-135/CWE-770 resource-consumption flaw rather than code execution or data exposure. A public PoC reference exists in the GHSA-q7gw-24fr-5p69 advisory (complete Go test code demonstrating the truncation bypass); it is not marked in the input as verified working weaponized exploit code, and it demonstrates memory/retention bypass rather than compromise. One important nuance to verify: the real-world impact depends on whether the operator has actually configured AttributeValueLengthLimit/WithAttributeValueLengthLimit as a memory safeguard and on whether attacker-influenced data reaches span/log/auto-instrumentation attributes - so raw CVSS AV:N overstates exposure for deployments that do not meet those conditions. Net: patch on a normal maintenance cadence; this is a correctness/hardening fix for a DoS-class bound bypass, not a drop-everything priority.

Exploit ScenarioDerived

An attacker who can influence values that an instrumented Go service records as span, log-record, or auto-instrumentation trace attributes submits a string composed of, or dominated by, valid U+FFFD replacement runes. Because the optimistic truncation path skips each valid U+FFFD without counting it, the configured AttributeValueLengthLimit is bypassed and the oversized value is retained verbatim, inflating retained memory and backpressure across the telemetry pipeline. A working Go test PoC demonstrating the bypass is published in the GHSA-q7gw-24fr-5p69 advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

OpenTelemetry-Go's attribute length truncation can be bypassed by span and log-record attribute values built from valid U+FFFD replacement characters, so configured AttributeValueLengthLimit / WithAttributeValueLengthLimit bounds fail to cap retained data in go.opentelemetry.io/otel/sdk (>=1.33.0), sdk/log (>=0.9.0) and trace/auto.go (>=1.35.0), all below 1.47.0. Applications that record attacker-influenced string data into span, log-record or auto-instrumentation attributes while relying on the length limit as a memory safeguard can see retained memory growth and telemetry pipeline pressure; confidentiality and integrity are unaffected (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L). A public PoC reference exists in the vendor advisory's reproduction test; it is not verified as working exploit code, and no confirmed active exploitation has been reported. The defect is an incomplete fix of CVE-2026-81869 and is resolved only by upgrading to 1.47.0.

RemediationAI

The vendor states the only complete fix is upgrading to 1.47.0: bump go.opentelemetry.io/otel/sdk to v1.47.0, go.opentelemetry.io/otel/sdk/log to v1.47.0 and go.opentelemetry.io/otel/trace to v1.47.0, which counts valid U+FFFD runes toward attribute value length limits (patch commit https://github.com/open-telemetry/opentelemetry-go/commit/017b08c7f1018b619991aaf6b2299d4beb9da1d3, releases linked from https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-q7gw-24fr-5p69). Note that adjusting or lowering AttributeValueLengthLimit is not an effective compensating control on affected versions, because U+FFFD-dominated values bypass the counting path entirely, so retained memory is not bounded by the configured limit; the same reasoning applies to span-event attributes, which the advisory's reproduction test shows are not length-truncated at all. Until the upgrade, the practical interim posture is to reduce the volume and size of attacker-influenceable attribute data entering the trace and log pipelines, accepting that this does not restore the character bound. Exposure is availability-only and prioritised as this-month work rather than an emergency.

Affected VersionsENISA

opentelemetry-go 0.9.0, < 1.47.0
go.opentelemetry.io/otel/sdk 1.33.0, < 1.47.0
go.opentelemetry.io/otel/sdk 1.35.0, < 1.47.0
go.opentelemetry.io/otel/sdk 0.9.0, < 1.47.0

Affected Packages

go go.opentelemetry.io/otel/sdk fix: 1.47.0
go go.opentelemetry.io/otel/sdk/log fix: 1.47.0
go go.opentelemetry.io/otel/trace fix: 1.47.0
euvd go_opentelemetry_io_otel_sdk fix: 1.47.0
euvd opentelemetry_go fix: 1.47.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-135 (incorrect calculation of multi-byte character string length) error in the shared truncation helper generated from internal/shared/attrnorm/truncate.go.tmpl, with generated copies in sdk/internal/attrnorm/truncate.go and sdk/log/internal/attrnorm/truncate.go plus the auto-instrumentation path in trace/auto.go. The helper added for the CVE-2026-81869 remediation (GHSA-p9f8-wvj8-2fg8, commit e016a78c9, first released in v1.33.0) takes an 'optimistic' fast path that ranges over the string and treats every utf8.RuneError as an invalid byte. Because Go's range yields RuneError both for a malformed single byte and for a legitimately encoded 3-byte U+FFFD, only the size-1 case reaches the correct slow path; a valid U+FFFD is neither counted nor truncating. Per the OpenTelemetry specification, truncation counts any character as 1, so a valid U+FFFD should consume one character of the limit but here consumes zero: 1000 U+FFFD runes (3000 bytes) are stored verbatim under a limit of 5 characters, and in mixed strings each U+FFFD adds three uncounted bytes to the retained value. The call chains in v1.46.0 are span.SetAttributes -> sdk/trace/span.go (normAttr) -> attrnorm.Truncate, and Record.AddAttributes/SetAttributes -> sdk/log/record.go (attrnorm.TruncateValue) -> sdk/log/internal/attrnorm/truncate.go. The repository's regression suite contained no U+FFFD case, which is why the rewritten code shipped as fixed. The upstream commit 017b08c7f1018b619991aaf6b2299d4beb9da1d3 corrects this by incrementing count for a valid U+FFFD and returning s[:i] when the limit is exceeded, and adds replacement-rune test groups including string, slice, map and invalid-byte mixtures.

Know when Opentelemetry Go gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Attacker-influenced telemetry string reaches the truncation path remotely with no auth or interaction (AV:N/AC:L/PR:N/UI:N); only availability is affected via an unbounded attribute value (A:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 20:49 EUVD
CVE Published
Nov 13, 2026 - 18:53 cve.org
MEDIUM 5.3

DescriptionCVE.org

OpenTelemetry-Go is the Go implementation of OpenTelemetry. From SDK version 1.33.0, SDK log version 0.9.0, and trace version 1.35.0 until version 1.47.0, the AttributeValueLengthLimit and WithAttributeValueLengthLimit truncation paths in sdk/internal/attrnorm, sdk/log/internal/attrnorm, and trace/auto.go do not count valid U+FFFD replacement characters. This is a distinct incomplete-fix defect in the replacement truncation code introduced by the remediation for CVE-2026-81869. Values composed of or dominated by those characters can therefore exceed the configured character and memory bound in span, log-record, and auto-instrumentation trace attributes. Attacker-controlled telemetry attributes can increase retained memory and pipeline pressure, while confidentiality and integrity are not affected. This issue is fixed in version 1.47.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
High
widely adopted Go observability SDK across cloud and microservice backends
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
High

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy