{"apiVersion":"1.0","identifier":"CVE-2026-61712","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.","publishedAt":"2026-08-19T20:17:19","lastModifiedAt":"2026-08-21T20:16:38","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-61712","cvssScore":2.3,"cvssVector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","epssProbability":0.00404,"riskScore":0.24,"affectedProduct":"BuildKit","affectedVersions":"<0.31.1","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-61712","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-61712","en":"https://www.redsauce.net/en/cves/CVE-2026-61712","fr":"https://www.redsauce.net/fr/cves/CVE-2026-61712","pt":"https://www.redsauce.net/pt/cves/CVE-2026-61712","de":"https://www.redsauce.net/de/cves/CVE-2026-61712","sk":"https://www.redsauce.net/sk/cves/CVE-2026-61712","el":"https://www.redsauce.net/el/cves/CVE-2026-61712"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-61712"}}