{"id":"CVE-2025-64329","aliases":["CVE-2025-64329","GHSA-m6hq-p25p-ffr2","GO-2025-4108"],"related":["CGA-7jqj-8457-jm46"],"kind":"vulnerability","state":"published","title":"containerd CRI server: Host memory exhaustion through Attach goroutine leak","summary":"containerd is an open-source container runtime. Versions 1.7.28 and below, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4, and 2.2.0-beta.0 through 2.2.0-rc.1 contain a bug in the CRI Attach implementation where a user can exhaust memory on the host due to goroutine leaks. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. To workaround this vulnerability, users can set up an admission controller to control accesses to pods/attach resources.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"containerd is an open-source container runtime. Versions 1.7.28 and below, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4, and 2.2.0-beta.0 through 2.2.0-rc.1 contain a bug in the CRI Attach implementation where a user can exhaust memory on the host due to goroutine leaks. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. To workaround this vulnerability, users can set up an admission controller to control accesses to pods/attach resources.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA bug was found in containerd's CRI Attach implementation where a user can exhaust memory on the host due to goroutine leaks. \n\nRepetitive calls of CRI Attach (e.g., [`kubectl attach`](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/)) could increase the memory usage of containerd.\n\n### Patches\n\nThis bug has been fixed in the following containerd versions:\n\n* 2.2.0\n* 2.1.5\n* 2.0.7\n* 1.7.29\n\nUsers should update to these versions to resolve the issue.\n\n### Workarounds\n\nSet up an admission controller to control accesses to `pods/attach` resources.\ne.g., [Validating Admission Policy](https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/).\n\n### Credits\n\nThe containerd project would like to thank @Wheat2018 for responsibly disclosing this issue in accordance with the [containerd security policy](https://github.com/containerd/project/blob/main/SECURITY.md).\n\n### References\n\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-64329\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose)\n* Email us at [security@containerd.io](mailto:security@containerd.io)\n\nTo report a security issue in containerd:\n\n* [Report a new vulnerability](https://github.com/containerd/containerd/security/advisories/new)","format":"markdown","source":"ghsa"},{"lang":"en","text":"containerd CRI server: Host memory exhaustion through Attach goroutine leak in github.com/containerd/containerd","format":"markdown","source":"go"},{"lang":"es","text":"containerd es un tiempo de ejecución de contenedores de código abierto. Las versiones 1.7.28 e inferiores, 2.0.0-beta.0 hasta 2.0.6, 2.1.0-beta.0 hasta 2.1.4, y 2.2.0-beta.0 hasta 2.2.0-rc.1 contienen un error en la implementación de CRI Attach donde un usuario puede agotar la memoria en el host debido a fugas de goroutines. Este problema está solucionado en las versiones 1.7.29, 2.0.7, 2.1.5 y 2.2.0. Como solución alternativa a esta vulnerabilidad, los usuarios pueden configurar un controlador de admisión para controlar los accesos a los recursos pods/attach.","source":"nvd"}],"published":"2025-11-06T23:32:23.000Z","modified":"2026-09-10T03:50:58.362Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"version":"< 1.7.29","status":"affected"},{"version":"< 2.0.7","status":"affected"},{"version":">= 2.1.0-beta.0, < 2.1.5","status":"affected"},{"version":">= 2.2.0-beta.0, < 2.2.0","status":"affected"}],"vendor":"containerd","product":"containerd","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.29"}],"ecosystem":"Go","package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.7"}],"ecosystem":"Go","package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.1.0-beta.0","status":"affected","fixed":"2.1.5"}],"ecosystem":"Go","package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.2.0-beta.0","status":"affected","fixed":"2.2.0"}],"ecosystem":"Go","package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.29"}],"ecosystem":"Go","package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.7"},{"type":"semver","introduced":"2.1.0-beta.0","status":"affected","fixed":"2.1.5"},{"type":"semver","introduced":"2.2.0-beta.0","status":"affected","fixed":"2.2.0"}],"ecosystem":"Go","package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"1.7.29"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.7"},{"status":"affected","introduced":"2.1.0","fixed":"2.1.5"},{"status":"affected","version":"2.2.0"},{"status":"affected","version":"2.2.0"},{"status":"affected","version":"2.2.0"},{"status":"affected","version":"2.2.0"},{"status":"affected","version":"2.2.0"}],"vendor":"linuxfoundation","product":"containerd","cpe":"cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-m6hq-p25p-ffr2","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/containerd/containerd/commit/083b53cd6f19b5de7717b0ce92c11bdf95e612df","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64329","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/containerd/containerd","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-07T17:41:50.476Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64329","url":"https://www.cve.org/CVERecord?id=CVE-2025-64329","licence":"CVE Terms of Use","modified":"2025-11-07T17:42:07.929Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m6hq-p25p-ffr2","url":"https://github.com/advisories/GHSA-m6hq-p25p-ffr2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:58.362Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4108","url":"https://pkg.go.dev/vuln/GO-2025-4108","licence":"CC-BY-4.0","modified":"2026-02-04T03:24:47.851Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64329","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64329","licence":"Public domain","modified":"2026-06-17T09:54:13.263Z"}],"updatedAt":"2026-11-25T22:59:07.330Z","epss":{"score":0.00175,"percentile":0.07332,"date":"2026-12-01T12:00:22.000Z"}}