{"id":"CVE-2023-25153","published":"2023-02-16T14:09:08Z","modified":"2025-03-10T21:10:44Z","title":"containerd OCI image importer memory exhaustion","vendor":"containerd","product":"containerd","tier":"tail","description":{"text":"containerd is an open source container runtime. Before versions 1.6.18 and 1.5.18, when importing an OCI image, there was no limit on the number of bytes read for certain files. A maliciously crafted image with a large file where a limit was not applied could cause a denial of service. This bug has been fixed in containerd 1.6.18 and 1.5.18.  Users should update to these versions to resolve the issue. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00389,"percentile":0.24685,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4","tags":["x_refsource_MISC"]},{"url":"https://github.com/containerd/containerd/releases/tag/v1.5.18","tags":["x_refsource_MISC"]},{"url":"https://github.com/containerd/containerd/releases/tag/v1.6.18","tags":["x_refsource_MISC"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":4.94},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"containerd","affectedVersions":[{"vendor":"containerd","product":"containerd","versions":["< 1.5.18",">= 1.6.0, < 1.6.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:57:30.825093Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/containerd/containerd","vulnerableRanges":["<1.5.18",">=1.6.0, <1.6.18"],"patched":["1.5.18","1.6.18"],"from":["GHSA-259w-8hf6-59c2","GO-2023-1573"],"provenance":"source"}],"summary":{"text":"The containerd container runtime, in its OCI image importer, fails to limit the number of bytes read for certain files during image import, leading to unbounded memory consumption. An attacker who can supply a maliciously crafted image with a large file that lacks a read limit can cause a denial of service, with local access and no privileges or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:25Z"},"euvd":{"id":"EUVD-2023-0597","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-23648","published":"2022-03-03","fixed":"1.6.1","kev":false},{"cve":"CVE-2022-31030","published":"2022-06-06","fixed":"1.6.6","kev":false},{"cve":"CVE-2022-23471","published":"2022-12-07","fixed":"1.6.12","kev":false,"link":{"from":"CVE-2022-23471","to":"CVE-2023-25153","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containerd/containerd","fromFixed":"1.5.16","toFixed":"1.5.18","daysApart":71}]}},{"cve":"CVE-2023-25153","published":"2023-02-16","fixed":"1.6.18","kev":false},{"cve":"CVE-2023-25173","published":"2023-02-16","fixed":"1.6.18","kev":false},{"cve":"CVE-2024-40635","published":"2025-03-17","fixed":"1.7.27","kev":false},{"cve":"CVE-2024-25621","published":"2025-11-06","fixed":"1.7.29","kev":false}],"package":"Go:github.com/containerd/containerd"}}