PT-2026-65618 · Gotd/Td · Gotd/Td
CVE-2026-54638
·
Published
2026-07-28
·
Updated
2026-07-28
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
gotd/td versions prior to 0.145.1
Description
A remote unauthenticated attacker can cause a denial of service by sending a crafted unencrypted MTProto packet. The
Decode() function in proto.UnencryptedMessage reads an attacker-controlled 32-bit dataLen field and allocates a buffer of that size using make([]byte, dataLen) before validating if the underlying buffer contains the declared number of bytes. This allows an attacker to force excessive memory allocation, leading to CPU and garbage collection pressure or Out-of-Memory (OOM) termination. This issue occurs during the unauthenticated MTProto handshake path, requiring no credentials or established session.Recommendations
Update to version 0.145.1 or later.
Avoid exposing the unauthenticated MTProto parsing path to untrusted peers.
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gotd/Td