NONE · 0

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 fil...

Vulnerability 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 Weaknesses (CWE)

References

FAQ

What is CVE-2026-61712?

CVE-2026-61712 is a documented vulnerability. 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 fil...

How severe is CVE-2026-61712?

CVSS scoring is not yet available for CVE-2026-61712. Check NVD for updates.

Is there a patch for CVE-2026-61712?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.