CVE-2026-54638
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| gotd | td | < 0.145.1 | affected |
Weaknesses
- CWE-770: CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-789: CWE-789: Memory Allocation with Excessive Size Value
References
- https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2
- https://github.com/gotd/td/issues/1711
- https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa
- https://github.com/gotd/td/releases/tag/v0.145.1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.