ADVISORIES

Vulnerability

CVE-2026-54638

gotd/td is a T Telegram MTProto API client in Go. Prior to 0.145.1, proto.UnencryptedMessage.Decode in proto/unencrypted_message.go read attacker controlled dataLen from an unauthenticated MTProto unencrypted packet and allocated make([]byte, dataLen) before checking the remaining buffer, allowing remote unauthenticated denial of service through excessive memory allocation and CPU or garbage collection pressure. This issue is fixed in version 0.145.1.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All Go 2SUSE 1openSUSE 1

Advisories in Go

  • GHSA-whmm-qj9r-wvr2

    td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode

    High CVE-2026-54638 Go Updated 18 August 2026
  • GO-2026-6138

    Unbounded memory allocation in proto.UnencryptedMessage.Decode in github.com/gotd/td

    CVE-2026-54638 Go Updated 18 August 2026

References