CVE-2026-61712BuildKit: Possible runtime DoS via unbounded group parsing
Updated under an hour ago ()
Does this affect you?
It affects moby buildkit. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 2.3 LOW (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-770
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Aug 21, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
moby buildkit moby:buildkit (from the name) | before 0.31.1 | CNA record |
References
- https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86x-refsource-confirm
- https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1x-refsource-misc
- https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255x-refsource-misc
- https://github.com/moby/buildkit/releases/tag/v0.31.1x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.