Vulnerability
CVE-2026-61712
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.
93 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
ALAS2023-2026-3140
Amazon Linux 2023 - ALAS2023-2026-3140: Important priority package update for runfinch-finch
-
ALAS2023-2026-3467
Amazon Linux 2023 - ALAS2023-2026-3467: Important priority package update for docker
-
AZL-97029
CVE-2026-61712 affecting package moby-engine for versions less than 25.0.3-20
- CGA-27g8-m3xr-h7h9
- CGA-29j4-8v5g-5pc5
- CGA-2hx6-p7jp-jw37
- CGA-2pf6-vqr8-rwhp
- CGA-2pv4-qrwp-xg3c
- CGA-2x2x-p958-6vw9
- CGA-32v2-v5v8-5jmf
- CGA-33f9-hfqm-p4hm
- CGA-345w-fjxj-3f5w
- CGA-3pwr-56ff-wp8j
- CGA-3qw4-wc6j-w33j
- CGA-4665-qqq2-4xpr
- CGA-477m-fwgm-29cj
- CGA-499j-h9wq-vvch
- CGA-56cq-gr7f-rcm8
- CGA-59mp-p6cp-w56f
- CGA-5wcr-hp6x-3g9w
- CGA-662j-2m57-3366
- CGA-6736-g3hm-w66w
- CGA-6fjh-94gq-qrj5
- CGA-6p5r-7c53-pjg4
- CGA-755x-q6g3-7f4f
- CGA-7989-g6rr-8536
- CGA-79gx-ggc8-mhjx
- CGA-7c36-5ggp-4666
- CGA-7g77-r8x7-q7g6
- CGA-8862-62qv-wj56
- CGA-8877-7cw7-458m
- CGA-8c83-x7h5-7gwq
- CGA-8cp6-6v69-57gj
- CGA-8r27-hcmc-8pj3
- CGA-92jp-4xfw-92gj
- CGA-9jmq-9xww-8gjx
- CGA-9p76-2vr8-8hm6
- CGA-9q66-m3xh-6g44
- CGA-c2v3-8hhr-fj64
- CGA-c864-7v96-85c6
- CGA-c8rm-mxrq-957m
- CGA-cg56-frq4-8phj
- CGA-cq8q-wr23-wqr5
- CGA-fjqm-j82m-6g3x
- CGA-fp97-j83m-86fh
- CGA-g76g-3932-8q5x
- CGA-g8h2-44x5-4ww9
- CGA-gwx7-9c7c-mvm2
- CGA-gx8p-xvcv-44r7
- CGA-h62w-qqgm-wf3g
- CGA-hrgv-gv3c-82pc
- CGA-hv27-7jq3-85wj
- CGA-hww4-2fv4-qvg5
- CGA-hxx9-g7fp-prp9
- CGA-j95q-4p7w-wfcq
- CGA-jfgp-w8xc-6rq8
- CGA-jh5h-gvj7-3cr8
- CGA-jh82-w656-p35q
- CGA-jjcv-cjwp-wq53
- CGA-jp8p-3jvv-fxq6
- CGA-m556-hrhg-8w52
- CGA-m69p-xfhj-6x38
- CGA-mh25-xwqw-9ppq
- CGA-mjcg-96gj-496m
- CGA-mp49-f7qc-47rx
- CGA-p263-m3w4-qrg2
- CGA-pmch-q4gj-q8hw
- CGA-ppgv-w5f4-7cfj
- CGA-q266-556p-wj69
- CGA-q69g-7v54-848q
- CGA-qxhv-5v2h-4264
- CGA-rh7f-jfjf-69r7
- CGA-rhg3-pqf4-9p37
- CGA-rhq2-6jch-5x4j
- CGA-rjx5-7565-29w9
- CGA-rv8x-pg6r-mmh7
- CGA-v62f-6xjm-5mf7
- CGA-vcgq-p88j-x49c
- CGA-w3hf-j2gm-mjm7
- CGA-w9w6-h328-rrp7
- CGA-wcrm-99vx-grh5
- CGA-x722-rjrq-3892
- CGA-xh3r-jc7x-8v34
- CGA-xj95-q8gc-622r
- CGA-xqpg-vqwq-xjv2
- CGA-xr39-f7x8-phvh
- CGA-xwm9-g75j-7rx9
- CGA-xxh2-fwm5-g822
-
GHSA-72x6-4j93-7w86
BuildKit has a possible runtime DoS via unbounded group parsing
-
GO-2026-6256
BuildKit has a possible runtime DoS via unbounded group parsing in github.com/moby/buildkit
-
SUSE-SU-2026:23625-1
Security update for govulncheck-vulndb
-
SUSEVEX-CVE-2026-61712
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…
-
openSUSE-SU-2026:21761-1
Security update for govulncheck-vulndb