{"api_version":"1","generated_at":"2026-08-25T02:25:26+00:00","cve":"CVE-2026-54638","urls":{"html":"https://cve.report/CVE-2026-54638","api":"https://cve.report/api/cve/CVE-2026-54638.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54638","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54638"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-28 23:17:08","updated_at":"2026-07-29 15:16:24"},"problem_types":["CWE-770","CWE-789","CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling","CWE-789 CWE-789: Memory Allocation with Excessive Size Value"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"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"}}],"references":[{"url":"https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa","name":"https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2","name":"https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/gotd/td/issues/1711","name":"https://github.com/gotd/td/issues/1711","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/gotd/td/releases/tag/v0.145.1","name":"https://github.com/gotd/td/releases/tag/v0.145.1","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-54638","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54638","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"gotd","product":"td","version":"affected < 0.145.1","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"54638","cve":"CVE-2026-54638","epss":"0.003460000","percentile":"0.272360000","score_date":"2026-07-30","updated_at":"2026-07-31 00:09:59"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-54638","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-07-29T14:20:16.425469Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-29T14:20:26.682Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"td","vendor":"gotd","versions":[{"status":"affected","version":"< 0.145.1"}]}],"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."}],"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","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-789","description":"CWE-789: Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-28T22:14:53.550Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2"},{"name":"https://github.com/gotd/td/issues/1711","tags":["x_refsource_MISC"],"url":"https://github.com/gotd/td/issues/1711"},{"name":"https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa","tags":["x_refsource_MISC"],"url":"https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa"},{"name":"https://github.com/gotd/td/releases/tag/v0.145.1","tags":["x_refsource_MISC"],"url":"https://github.com/gotd/td/releases/tag/v0.145.1"}],"source":{"advisory":"GHSA-whmm-qj9r-wvr2","discovery":"UNKNOWN"},"title":"td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-54638","datePublished":"2026-07-28T22:14:53.550Z","dateReserved":"2026-06-15T20:07:02.186Z","dateUpdated":"2026-07-29T14:20:26.682Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-28 23:17:08","lastModifiedDate":"2026-07-29 15:16:24","problem_types":["CWE-770","CWE-789","CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling","CWE-789 CWE-789: Memory Allocation with Excessive Size Value"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-29T14:20:16.425469Z","id":"CVE-2026-54638","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"54638","Ordinal":"1","Title":"td has pre-auth denial of service via unbounded memory allocatio","CVE":"CVE-2026-54638","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"54638","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"td has pre-auth denial of service via unbounded memory allocatio"}]}}}