LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Applications using gotd/td before 0.145.1 can be remotely forced to consume excessive memory before authentication. An attacker may cause slowdowns, crashes, or service restarts without credentials. The issue affects availability only; the supplied sources do not indicate data theft or modification.

Executive priority

Prioritize remediation for internet-facing or otherwise attacker-reachable services because exploitation requires no authentication and can interrupt availability. Upgrade promptly through normal emergency dependency procedures. Isolated development systems are lower priority, but vulnerable production artifacts should not remain deployed. No confidentiality or integrity impact is documented.

Technical view

proto.UnencryptedMessage.Decode trusts an attacker-controlled dataLen in an unauthenticated MTProto packet and allocates that amount before confirming sufficient buffered data. This can create excessive memory use and CPU or garbage-collection pressure. CVE-2026-54638 is rated CVSS 7.5 and maps to CWE-770 and CWE-789. Version 0.145.1 fixes the flaw.

Likely exposure

Exposure exists where software includes gotd/td below 0.145.1 and processes attacker-reachable, unencrypted MTProto traffic. Risk is greatest for continuously available services without strict network isolation or resource controls. The supplied sources provide no CPEs or deployment inventory, so each organization must identify affected dependencies and reachable processing paths.

Exploitation context

The attack is remote, unauthenticated, low complexity, and requires no user interaction. Its documented impact is denial of service through memory allocation and processing pressure. The source bundle marks this CVE as absent from KEV and provides no evidence of active exploitation; real-world exploitation status is therefore unconfirmed.

Researcher notes

The vulnerable operation occurs before remaining-buffer validation in proto/unencrypted_message.go. The supplied advisory, issue, patch commit, and release identify 0.145.1 as fixed. Assessment should focus on dependency reachability, actual packet-processing paths, and resource behavior. No exploit prevalence, affected downstream product list, or CPE mapping is provided.

Mitigation direction

  • Upgrade gotd/td to version 0.145.1 or later.
  • Rebuild and redeploy every application containing the vulnerable dependency.
  • Until upgraded, restrict untrusted access to affected MTProto processing where operationally feasible.
  • Apply memory limits and restart controls as temporary resilience measures, not substitutes for upgrading.

Validation and detection

  • Inspect dependency manifests, lockfiles, SBOMs, and deployed binaries for gotd/td versions below 0.145.1.
  • Confirm all production artifacts were rebuilt with gotd/td 0.145.1 or later.
  • Identify whether untrusted networks can reach code processing unencrypted MTProto packets.
  • Review monitoring for abnormal memory growth, garbage-collection pressure, crashes, or repeated restarts.
  • Test safely that malformed length declarations are rejected without allocation proportional to the declared size.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-770: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-789: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-54638 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6GitHub_M

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2026-54638Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
gotdtd< 0.145.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-770 · source CWE mapping

Allocation of Resources Without Limits or Throttling

Allocation of Resources Without Limits or Throttling represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-789 · source CWE mapping

Memory Allocation with Excessive Size Value

Memory Allocation with Excessive Size Value represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.