High severityNVD Advisory· Published Jul 28, 2026· Updated Jul 29, 2026
td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
CVE-2026-54638
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/gotd/tdGo | < 0.145.1 | 0.145.1 |
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-whmm-qj9r-wvr2ghsaADVISORY
- github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baaghsax_refsource_MISCWEB
- github.com/gotd/td/issues/1711ghsax_refsource_MISCWEB
- github.com/gotd/td/releases/tag/v0.145.1ghsax_refsource_MISCWEB
- github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.