VDB
CVE-2026-61712
CVE-2026-61712
PUBLISHED
CVSS 2.3 LOW
Reported by GitHub_M · Published August 19, 2026
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.
Risk Scores
CVSS 4.0
2.3
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| moby | buildkit | < 0.31.1 |
| chainguard | cloudbeat-fips-9.5 | 0 |
| chainguard | cloudbeat-9.5 | 0 |
| wolfi | scorecard | 0 |
| chainguard | cloudbeat-9.4 | 0 |
| chainguard | cloudbeat-9.3 | 0 |
| wolfi | zot | 0, 0, 0 |
| chainguard | scorecard | 0 |
| chainguard | zot | 0 |
| chainguard | trivy | 0 |
| wolfi | kaniko | 0 |
| github.com | moby/buildkit | 0 |
| chainguard | cloudbeat-9.2 | 0 |
| chainguard | guac | 0 |
| chainguard | kubescape-server-fips | 0 |
| chainguard | skaffold | 0, 0, 0 |
| chainguard | trivy-operator-fips | 0 |
| chainguard | kubescape-server | 0 |
| moby | buildkit | < 0.31.1 |
| chainguard | conftest | 0 |
…and 19 more
Timeline
- Aug 19, 2026 CVE Published
- Aug 20, 2026 Security Advisory
- Aug 22, 2026 Coalition ESS Score
- Aug 24, 2026 EPSS Score
- Aug 26, 2026 EPSS Score
- Aug 30, 2026 EPSS Score
- Sep 3, 2026 EPSS Score
- Sep 6, 2026 EPSS Score
- Sep 9, 2026 EPSS Score
- Sep 12, 2026 EPSS Score
- Sep 16, 2026 EPSS Score
- Sep 18, 2026 EPSS Score
References
- https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86 x_refsource_CONFIRM
- https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1 x_refsource_MISC
- https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255 x_refsource_MISC
- https://github.com/moby/buildkit/releases/tag/v0.31.1 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-61712 advisory
- https://github.com/advisories/GHSA-72x6-4j93-7w86 advisory