What’s Vulnerable › Vulnerabilities
CVE-2026-54638: td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-28 · updated 2026-10-23
- Weakness: CWE-770
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
- gotd td: before 0.145.1
References
- https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa
- https://github.com/gotd/td/issues/1711
- https://github.com/gotd/td/releases/tag/v0.145.1
- https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2
Get alerted when CVE-2026-54638 or the next vulnerability affects your stack