Skip to content
OpenAdvisories
High · 7.5 CVE-2026-54638 EUVD-2026-50085GHSA-whmm-qj9r-wvr2GO-2026-6138

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

Published Jul 28, 2026 · Updated Jul 29, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
gotd td < 0.145.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gotd/td < 0.145.1 0.145.1 GHSA-whmm-qj9r-wvr2

Advisories 2

References