CVE-2026-61712
CVE-2026-61712 · BuildKit: Possible runtime DoS via unbounded group parsing
CVSS 2.3 · Low · EPSS 0.4%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- buildkitNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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/passwd and /etc/group files without an upper bound while resolving a username to a user identifier or group identifier in executor/oci/user.go and solver/llbsolver/ops/user_linux.go. A malicious base image or build could provide oversized files that exhausted memory during user resolution and caused out-of-memory termination of the buildkitd process. This issue is fixed in version 0.31.1.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2026:23625-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21761-1 · openSUSE Leap 16.0 ·
Affected products and versions
buildkit
- Versions
- < 0.31.1: Affected
No fix published
Original sources
- https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86
- https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1
- https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255
- https://github.com/moby/buildkit/releases/tag/v0.31.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-61712