Bug 2519914 (CVE-2026-61712) - CVE-2026-61712 github.com/moby/buildkit: BuildKit: Denial of Service via unbounded group parsing
Summary: CVE-2026-61712 github.com/moby/buildkit: BuildKit: Denial of Service via unbo...
Keywords:
Status: NEW
Alias: CVE-2026-61712
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526309 2526312 2526314 2526316 2526317 2526319 2526320 2526321 2526323 2526324 2526310 2526322
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-19 20:21 UTC by OSIDB Bzimport
Modified: 2026-08-31 14:16 UTC (History)
120 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-19 20:21:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.