CVE-2026-54638
HIGH 7.5CVSS 3.1td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
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.
- Published
- 28 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770CWE-789
- Also known as
- GHSA-whmm-qj9r-wvr2GO-2026-6138
- Sources
- NVDJSONOSV GHSA-whmm-qj9r-wvr2JSONOSV GO-2026-6138JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/gotd/td | < 0.145.1 | 0.145.1 |
References
- https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa · WEB, FIX
- https://github.com/gotd/td/issues/1711 · WEB, REPORT
- https://github.com/gotd/td/releases/tag/v0.145.1 · WEB
- https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2 · WEB, ADVISORY
- https://github.com/gotd/td · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 28 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2026)