{"cve":"CVE-2026-54638","nvd":{"published":"2026-07-28T23:17:08.617","modified":"2026-10-23T23:10:00.157","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770","CWE-789"],"references":["https://github.com/gotd/td/commit/9d5d1f31ea5022d9798d84ccce15de2e91ba6baa","https://github.com/gotd/td/issues/1711","https://github.com/gotd/td/releases/tag/v0.145.1","https://github.com/gotd/td/security/advisories/GHSA-whmm-qj9r-wvr2"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2026-54638","score":0.0063,"percentile":0.49895,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-whmm-qj9r-wvr2","url":"https://osv.dev/vulnerability/GHSA-whmm-qj9r-wvr2","summary":"td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode","modified":"2026-08-18T17:24:12.280087512Z","packages":[{"ecosystem":"Go","name":"github.com/gotd/td","purl":"pkg:golang/github.com/gotd/td","ranges":["<0.145.1"],"fixed":["0.145.1"]}]},{"id":"GO-2026-6138","url":"https://osv.dev/vulnerability/GO-2026-6138","summary":"Unbounded memory allocation in proto.UnencryptedMessage.Decode in github.com/gotd/td","modified":"2026-08-18T17:15:27.921815293Z","packages":[{"ecosystem":"Go","name":"github.com/gotd/td","purl":"pkg:golang/github.com/gotd/td","ranges":["<0.145.1"],"fixed":["0.145.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}