CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-54638

highCVSS 7.5covered by 2 sourcesfirst seen 2026-07-28
Impact A remote, unauthenticated attacker can cause excessive memory allocation (and resulting CPU / GC pressure, potentially OOM termination) by sending a crafted unencrypted MTProto packet. (*proto.UnencryptedMessage).Decode read an attacker-controlled 32-bit dataLen field and immediately allocated a buffer of that size via make([]byte, dataLen) before validating that the underlying buffer actually contained that many bytes. A 20-byte packet declaring a ~1.75 GB payload (e.g. dataLen = 0x70000000) forces the runtime to provision and zero-initialize a multi-gigabyte heap allocation before the length is rejected. Unencrypted messages are part of the unauthenticated MTProto handshake path, so no credentials or established session are required to reach the vulnerable code. Impact is limited to availability; there is no evidence of memory corruption, out-of-bounds access, or code execution. Patches Fixed in v0.145.1 by validating dataLen against the remaining buffer length before allocation (commit 9d5d1f31e). Workarounds Upgrade to v0.145.1 or later. There is no in-process workaround for affected versions short of avoiding exposure of the unauthenticated MTProto parsing path to untrusted peers.

⚡ Watch CVE-2026-54638

Get an email if CVE-2026-54638 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (2)

External references

NVD record for CVE-2026-54638

CVE.org record

Embed the live status

CVE-2026-54638 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-54638 status](https://www.csirts.com/badge/CVE-2026-54638)](https://www.csirts.com/cve/CVE-2026-54638)