Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
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
FAQ
What is CVE-2026-54638?
CVE-2026-54638 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 une...
How severe is CVE-2026-54638?
CVE-2026-54638 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54638?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.