CVE-2026-54638: CWE-770: Allocation of Resources Without Limits or Throttling in gotd td
CVE-2026-54638 is a high severity vulnerability in gotd/td, a Telegram MTProto API client written in Go. Versions prior to 0.145.1 contain a flaw in proto.UnencryptedMessage.Decode where an attacker-controlled length value is used to allocate memory without verifying the buffer size first. This can lead to remote unauthenticated denial of service due to excessive memory allocation and increased CPU or garbage collection load. The issue is fixed in version 0.145.1.
AI Analysis
Technical Summary
The vulnerability exists in the proto.UnencryptedMessage.Decode function of gotd/td before version 0.145.1. The function reads an attacker-controlled dataLen value from an unauthenticated MTProto unencrypted packet and allocates a byte slice of that length before checking if the buffer contains enough data. This unchecked allocation can cause excessive memory consumption and CPU or garbage collection pressure, enabling a remote unauthenticated denial of service attack. The flaw is addressed in version 0.145.1.
Potential Impact
An unauthenticated remote attacker can cause denial of service by sending specially crafted MTProto unencrypted packets that trigger large memory allocations and CPU or garbage collection overhead. This impacts availability but does not affect confidentiality or integrity.
Mitigation Recommendations
Upgrade to gotd/td version 0.145.1 or later, where the vulnerability is fixed. Patch status is confirmed by the vendor stating the issue is resolved in 0.145.1.
CVE-2026-54638: CWE-770: Allocation of Resources Without Limits or Throttling in gotd td
Description
CVE-2026-54638 is a high severity vulnerability in gotd/td, a Telegram MTProto API client written in Go. Versions prior to 0.145.1 contain a flaw in proto.UnencryptedMessage.Decode where an attacker-controlled length value is used to allocate memory without verifying the buffer size first. This can lead to remote unauthenticated denial of service due to excessive memory allocation and increased CPU or garbage collection load. The issue is fixed in version 0.145.1.
CVSS v3.1
Score 7.5high
Affected software
gotd
td
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the proto.UnencryptedMessage.Decode function of gotd/td before version 0.145.1. The function reads an attacker-controlled dataLen value from an unauthenticated MTProto unencrypted packet and allocates a byte slice of that length before checking if the buffer contains enough data. This unchecked allocation can cause excessive memory consumption and CPU or garbage collection pressure, enabling a remote unauthenticated denial of service attack. The flaw is addressed in version 0.145.1.
Potential Impact
An unauthenticated remote attacker can cause denial of service by sending specially crafted MTProto unencrypted packets that trigger large memory allocations and CPU or garbage collection overhead. This impacts availability but does not affect confidentiality or integrity.
Mitigation Recommendations
Upgrade to gotd/td version 0.145.1 or later, where the vulnerability is fixed. Patch status is confirmed by the vendor stating the issue is resolved in 0.145.1.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T20:07:02.186Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a692bbe9c2644c7f84c146f
Added to database: 07/28/2026, 22:22:54 UTC
Last enriched: 08/05/2026, 15:02:33 UTC
Last updated: 09/11/2026, 22:06:34 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.