CVE-2026-54638

td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode

Published Jul 28, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-whmm-qj9r-wvr2 td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
History
Type Values Removed Values Added
First Time appeared Gotd
Gotd td
Vendors & Products Gotd
Gotd td
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
Weaknesses CWE-770
CWE-789
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 29, 2026, 2:20 PM
Reserved
Jun 15, 2026, 8:07 PM
Status
Deferred
Published
Jul 28, 2026, 11:17 PM
Modified
Oct 23, 2026, 11:10 PM