{"id":"CVE-2026-54638","state":"PUBLISHED","title":"td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode","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.","publishedAt":"2026-07-28T22:14:53.550Z","updatedAt":"2026-07-29T14:20:26.682Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["gotd td"],"affected":[{"vendor":"gotd","product":"td","versions":[{"version":"< 0.145.1","status":"affected"}]}],"references":["https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2","https://github.com/gotd/td/issues/1711","https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa","https://github.com/gotd/td/releases/tag/v0.145.1"],"weaknesses":["CWE-770","CWE-789"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54638.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54638","state":"PUBLISHED","datePublished":"2026-07-28T22:14:53.550Z","dateUpdated":"2026-07-29T14:20:26.682Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T20:07:02.186Z"},"containers":{"cna":{"title":"td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gotd","product":"td","versions":[{"version":"< 0.145.1","status":"affected"}]}],"references":[{"url":"https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2","name":"https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gotd/td/issues/1711","name":"https://github.com/gotd/td/issues/1711","tags":["x_refsource_MISC"]},{"url":"https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa","name":"https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa","tags":["x_refsource_MISC"]},{"url":"https://github.com/gotd/td/releases/tag/v0.145.1","name":"https://github.com/gotd/td/releases/tag/v0.145.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-789","lang":"en","description":"CWE-789: Memory Allocation with Excessive Size Value","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-28T22:14:53.550Z"},"source":{"advisory":"GHSA-whmm-qj9r-wvr2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-29T14:20:16.425469Z","id":"CVE-2026-54638","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-29T14:20:26.682Z"}}]}}}