{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-61712","id":"CVE-2026-61712","title":"BuildKit: Possible runtime DoS via unbounded group parsing","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 prov","descriptionLong":"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.","published":"2026-08-19T20:01:18.074Z","updated":"2026-10-28T02:31:08.388145828Z","reserved":"2026-07-10T18:51:13.920Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.3,"vector":"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.3,"vector":"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.3,"vector":"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","rating":"low","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"low","source":"GitHub"}],"rating":"low","products":["moby buildkit"],"affectedProducts":[{"vendor":"moby","product":"buildkit","defaultStatus":null,"versions":[{"version":"< 0.31.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","ranges":["<0.31.1"],"fixed":["0.31.1"],"advisory":"GHSA-72x6-4j93-7w86"}],"cwes":["CWE-770"],"aliases":["GHSA-72x6-4j93-7w86","GO-2026-6256"],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.31.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61712.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61712","tags":["advisory"]},{"url":"https://github.com/moby/buildkit","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00399,"epssPercentile":0.34816,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-61712","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61712","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-61712","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-72x6-4j93-7w86","ok":true,"note":"GHSA-72x6-4j93-7w86"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-61712","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["docker"],"critical":[],"attention":null}