{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-61712",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-10T18:51:13.920Z",
        "datePublished": "2026-08-19T20:01:18.074Z",
        "dateUpdated": "2026-08-19T20:01:18.074Z"
    },
    "containers": {
        "cna": {
            "title": "BuildKit: Possible runtime DoS via unbounded group parsing",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-770",
                            "lang": "en",
                            "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86"
                },
                {
                    "name": "https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1"
                },
                {
                    "name": "https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255"
                },
                {
                    "name": "https://github.com/moby/buildkit/releases/tag/v0.31.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/moby/buildkit/releases/tag/v0.31.1"
                }
            ],
            "affected": [
                {
                    "vendor": "moby",
                    "product": "buildkit",
                    "versions": [
                        {
                            "version": "< 0.31.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-19T20:01:18.074Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-72x6-4j93-7w86",
                "discovery": "UNKNOWN"
            }
        }
    }
}