CVE-2026-61712
published low CVSS 4.0 · 2.3BuildKit: Possible runtime DoS via unbounded group parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| moby | — | buildkit< 0.31.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-142 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-165 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-134 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3140 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3467 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-165 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-134 |
| Amazon Linux | AL2 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-142 |
| Amazon Linux | AL2 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-142 |
| Amazon Linux | AL2 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-142 |
| Amazon Linux | AL2023 | dockeraarch64 | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | dockersrc | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | dockerx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3467 |
| Amazon Linux | AL2023 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3140 |
| Amazon Linux | AL2023 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2023-2026-3140 |
| Amazon Linux | AL2023 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3140 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moby | buildkit | < 0.31.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
4Provider assertions
2GitHub_M · cna
BuildKit: Possible runtime DoS via unbounded group parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 123643b9246adf78237074229c596581ce050912a2eaecabf8531e86a39e57f5
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record