Advisory

GHSA-72x6-4j93-7w86

Also known as: CVE-2026-61712, GO-2026-6256

Summary

BuildKit has a possible runtime DoS via unbounded group parsing

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-08-19 20:24 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

github.com/moby/buildkit

Go · All systems

Affected

  • introduced 0, fixed 0.31.1 (semver)

Fixed versions

0.31.1

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences