Skip to content
Heist/ feed
Back to feed
Medium

golang-opentelemetry-otel — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-81869

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.

Products
golang-opentelemetry-otel
Affected versions
1.1.0-2, 1.16.0-1, 1.31.0-4, 1.31.0-5, 1.31.0-6, 1.43.0-4build1
Fixed versions
Not specified
CVEs
CVE-2026-81869
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:20 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-81869

core-osv · Original source

Published 16 Sept 2026, 21:17 UTC

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.

osv:UBUNTU-CVE-2026-81869

golang-opentelemetry-otel

Fixed versions: Not specified

golang-opentelemetry-otel

Fixed versions: Not specified

golang-opentelemetry-otel

Fixed versions: Not specified

golang-opentelemetry-otel

Fixed versions: Not specified

Complete source record
{
  "id": "980422e4a1f9c9e308ead1d8b03cd0c7d7601b54452150a580e51649c50278a5",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-81869",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-81869",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-81869",
    "products": [
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.0-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.16.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.31.0-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.43.0-4build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-otel",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.31.0-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.31.0-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.31.0-6",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-81869",
      "aliases": [
        "UBUNTU-CVE-2026-81869"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.1.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81869.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.1.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.16.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81869.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.16.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.31.0-6",
            "1.43.0-4build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81869.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.43.0-4build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-otel",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-otel?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.31.0-4",
            "1.31.0-5",
            "1.31.0-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81869.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-otel-dev",
                "binary_version": "1.31.0-6"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:10.626105907Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-81869"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-81869",
        "https://www.cve.org/CVERecord?id=CVE-2026-81869",
        "https://github.com/open-telemetry/opentelemetry-go/commit/e016a78c9f5b24a1c2beeaad47686c2f2213f49a",
        "https://github.com/open-telemetry/opentelemetry-go/issues/5996",
        "https://github.com/open-telemetry/opentelemetry-go/pull/5997",
        "https://github.com/open-telemetry/opentelemetry-go/releases/tag/sdk/v1.33.0",
        "https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-p9f8-wvj8-2fg8"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-81869",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361140,
  "published_at": "2026-09-16T21:17:00+00:00"
}