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

VendorProductVersions
mobybuildkit< 0.31.1
chainguardcloudbeat-fips-9.50
chainguardcloudbeat-9.50
wolfiscorecard0
chainguardcloudbeat-9.40
chainguardcloudbeat-9.30
wolfizot0, 0, 0
chainguardscorecard0
chainguardzot0
chainguardtrivy0
wolfikaniko0
github.commoby/buildkit0
chainguardcloudbeat-9.20
chainguardguac0
chainguardkubescape-server-fips0
chainguardskaffold0, 0, 0
chainguardtrivy-operator-fips0
chainguardkubescape-server0
mobybuildkit< 0.31.1
chainguardconftest0

…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
Open in Interactive Console →
$ Console Community · 50/day Open console ›