BuildKit has a possible runtime DoS via unbounded group parsing
### Impact Maliciously crafted base image or build can cause a Denial of Service (DoS) condition. When creating a container from this image, memory exhaustion occurs, leading to an Out Of Memory (OOM) kill of the buildkitd process. ### Patches Issue is fixed in BuildKit v0.31.1+ ### Workarounds Use trusted build sources. ### References This is BuildKit variant of containerd advisory https://github.com/containerd/containerd/security/advisories/GHSA-jpcc-p29g-p8mq
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-61712US | — | — | ||
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, BuildKit read attacker-controlled /etc/passw… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/moby/buildkitPACKAGE
- https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1WEB
- https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255WEB
- https://github.com/moby/buildkit/releases/tag/v0.31.1WEB
- https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan