{"id":"CVE-2026-93323","state":"PUBLISHED","title":"Oversized Dockerfile or .dockerignore can exhaust buildkitd memory","description":"The Dockerfile frontend loaded the Dockerfile and .dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB.","publishedAt":"2026-10-05T17:57:12.252Z","updatedAt":"2026-10-05T18:47:42.179Z","severity":{"score":6.8,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"Docker"},"assigner":"Docker","products":["moby BuildKit"],"affected":[{"vendor":"moby","product":"BuildKit","packageName":"github.com/moby/buildkit","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.33.0","versionType":"semver"}]}],"references":["https://github.com/moby/buildkit/security/advisories/GHSA-mgqf-486f-49vp","https://github.com/moby/buildkit/releases/tag/v0.33.1"],"weaknesses":["CWE-789"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93323.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93323","state":"PUBLISHED","datePublished":"2026-10-05T17:57:12.252Z","dateUpdated":"2026-10-05T18:47:42.179Z","assignerShortName":"Docker","assignerOrgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateReserved":"2026-09-17T17:18:17.963Z"},"containers":{"cna":{"title":"Oversized Dockerfile or .dockerignore can exhaust buildkitd memory","descriptions":[{"lang":"en","value":"The Dockerfile frontend loaded the Dockerfile and .dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB."}],"affected":[{"vendor":"moby","product":"BuildKit","packageName":"github.com/moby/buildkit","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.33.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-mgqf-486f-49vp","tags":["vendor-advisory"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.33.1","tags":["patch"]}],"metrics":[{"cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","baseScore":6.8,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","exploitMaturity":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","description":"CWE-789: Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Docker","orgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateUpdated":"2026-10-05T17:57:12.252Z"},"credits":[{"lang":"en","type":"finder","value":"Aqueel Ahmed (https://github.com/aqueel707)"}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Only build from trusted build contexts. Run buildkitd under a memory limit (cgroup or container limit) so exhaustion is contained to the daemon.</p>"}],"value":"Only build from trusted build contexts. Run buildkitd under a memory limit (cgroup or container limit) so exhaustion is contained to the daemon."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-05T18:47:20.730540Z","id":"CVE-2026-93323","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-05T18:47:42.179Z"}}]}}}