td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gotd | td | before 0.145.1 | 0.145.1 | Patch available | CNA |
| — | github.com/gotd/td (Go) | before 0.145.1 | 0.145.1 | Patch available | GHSA-whmm-qj9r-wvr2 |
- td Vendorgotd Affected before 0.145.1 Fixed in 0.145.1 Patch available CNA
- github.com/gotd/td (Go) Vendor— Affected before 0.145.1 Fixed in 0.145.1 Patch available GHSA-whmm-qj9r-wvr2
Remediation
- Fix · CNA td (gotd) Fixed in 0.145.1
- Fix · GHSA-whmm-qj9r-wvr2 github.com/gotd/td (Go) Fixed in 0.145.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54638
- 2026-10-03 Alias added: GHSA-whmm-qj9r-wvr2
- 2026-10-28 EPSS moved to the 50th–90th percentile
References
Sources
- CVE-2026-54638 · CVE Program
- CVE-2026-54638 · NVD
- FIRST EPSS
- GHSA-whmm-qj9r-wvr2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences