CVSS 4.0
2.3 lowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NLow (2.3) in moby buildkit. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/moby/buildkit 0.31.1.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:Ngithub.com/moby/buildkit (Go): fixed in 0.31.1Explain CVE-2026-61712 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-61712?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-61712?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-61712 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| moby buildkit | < 0.31.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-72x6-4j93-7w86 | Go | github.com/moby/buildkit | <0.31.1 | 0.31.1 |
| GO-2026-6256 | Go | github.com/moby/buildkit | <0.31.1 | 0.31.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | govulncheck-vulndb | 0.0.20260827T195228-160000.1.1 | SUSE-SU-2026:23625-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260827T195228-160000.1.1 | openSUSE-SU-2026:21761-1 |
| Azure Linux | 3 | moby-engine | 25.0.3-20 | AZL-97029 |
From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.
Red Hat rates this Moderate.
A moderate-impact denial of service flaw was found in BuildKit (github.com/moby/buildkit), a toolkit for converting source code into build artifacts that is vendored as a Go dependency by several Red Hat and community-maintained components. While resolving a user or group name to its identifier, BuildKit read the /etc/passwd and /etc/group files without an upper bound. An attacker able to supply a malicious base image or build input could provide oversized versions of these files, causing excessive memory consumption during user resolution and out-of-memory termination of the buildkitd process, resulting in a denial of service. Products that vendor the vulnerable BuildKit code are affected; for the affected community-maintained components in Fedora and EPEL, a fix is being pursued through the delegated maintenance process. Red Hat products whose builds do not contain the vulnerable code, such as Red Hat In-Vehicle OS podman and buildah, are not affected. Red Hat rates this flaw Moderate severity (CVSS 5.5, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I/N/A:H), while the upstream CVE record assigns a Low severity score of 2.3 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L). The difference reflects upstream crediting the attack with partial prerequisites and required user interaction for a malicious base image or build, whereas the Red Hat assessment reflects a local, low-privilege build submission that directly causes high availability impact on the buildkitd process.
To mitigate this issue, avoid building images from untrusted or unverified sources. If processing untrusted build definitions is necessary, consider implementing strict resource limits on build processes to prevent excessive memory consumption. This operational control helps contain the impact of potential memory exhaustion.
| Product | Package | State | Advisory |
|---|---|---|---|
| Assisted Installer for Red Hat OpenShift Container Platform 2 | assisted/agent-preinstall-image-builder-rhel9 | Out of support scope | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-controller-rhel9 | Out of support scope | |
| Compliance Operator | compliance/openshift-compliance-must-gather-rhel8 | Fix deferred | |
| Confidential Compute Attestation | build-of-trustee/trustee-must-gather-rhel9 | Fix deferred | |
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-must-gather-rhel9 | Fix deferred | |
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-podvm-builder-rhel9 | Fix deferred | |
| Kernel Module Management Operator for Red Hat Openshift | kmm/kernel-module-management-must-gather-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-rhel9-operator | Out of support scope | |
| Logical Volume Manager Storage | lvms4/lvms-must-gather-rhel8 | Out of support scope | |
| Logical Volume Manager Storage | lvms4/lvms-must-gather-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-cli-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-discovery-addon-rhel9 | Fix deferred | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-log-reader-rhel8 | Fix deferred | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-must-gather-rhel8 | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-rhel8 | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-controller-rhel8 | Out of support scope | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-controller-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-service-8-rhel8 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-service-9-rhel9 | Fix deferred | |
| 168 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-61712.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).