Allocation of Resources Without Limits or Throttling Affecting github.com/moby/buildkit/solver/llbsolver/ops package, versions <0.31.1


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMOBYBUILDKITSOLVERLLBSOLVEROPS-19005956
  • published20 Aug 2026
  • disclosed19 Aug 2026

Introduced: 19 Aug 2026

NewCVE-2026-61712  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/moby/buildkit/solver/llbsolver/ops to version 0.31.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to unbounded group parsing in the user and group file handling code in executor/oci/user.go and solver/llbsolver/ops/user_linux.go. An attacker can exhaust memory and trigger an OOM kill of buildkitd by supplying a malicious image or build that forces container creation to resolve usernames against oversized /etc/passwd or /etc/group files. The vulnerable path reads those files without an upper bound during UID/GID lookup and user resolution, so a crafted filesystem payload can make the build daemon consume excessive memory and stop processing builds.

CVSS Base Scores

version 4.0
version 3.1