github.com/moby/buildkit
Affected
- introduced
0, fixed0.31.1(semver)
Fixed versions
0.31.1
Fix
- Fixed version
0.31.1go get github.com/moby/[email protected]
Advisory
Also known as: CVE-2026-61712, GO-2026-6256
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
Low Basis: The source's own band: LOW
0, fixed 0.31.1 (semver)0.31.1
0.31.1go get github.com/moby/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0