Skip to content
Fencer Vulns
low 2.3

CVE-2026-61712 json

BuildKit: Possible runtime DoS via unbounded group parsing

published 2026-08-19 2 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-62837 , GHSA-72x6-4j93-7w86 , GO-2026-6256

cvss
2.3
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/moby/buildkit 0.31.1
  • mobyproject buildkit 0.31.1
  • govulncheck-vulndb SLES for SAP applications 16.0, SLES 16.0 0.0.20260827T195228-160000.1.1

suse advisories SUSE-SU-2026:23625-1

  • govulncheck-vulndb openSUSE Leap 16.0 0.0.20260827T195228-160000.1.1

opensuse advisories openSUSE-SU-2026:21761-1

  • moby-engine Azure Linux 3.0 25.0.3-20

azure linux advisories AZL-97029

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-61712 updated cvss 5.5

github.com/moby/buildkit: BuildKit: Denial of Service via unbounded group parsing

  • Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai/assisted-installer-controller-rhel9, assisted/agent-preinstall-image-builder-rhel9
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Compliance Operator compliance/openshift-compliance-must-gather-rhel8 Red Hat Confidential Compute Attestation build-of-trustee/trustee-must-gather-rhel9, openshift-sandboxed-containers/osc-must-gather-rhel9, openshift-sandboxed-containers/osc-podvm-builder-rhel9 Red Hat Kernel Module Management Operator for Red Hat Openshift kmm/kernel-module-management-must-gather-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/cluster-logging-rhel9-operator
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Logical Volume Manager Storage lvms4/lvms-must-gather-rhel8, lvms4/lvms-must-gather-rhel9
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat Migration Toolkit for Applications 8 mta/mta-cli-rhel9, mta/mta-discovery-addon-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-log-reader-rhel8, rhmtc/openshift-migration-must-gather-rhel8 Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-must-gather-rhel8, migration-toolkit-virtualization/mtv-must-gather-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Multicluster Engine for Kubernetes multicluster-engine/must-gather-rhel9, multicluster-engine/assisted-service-8-rhel8, multicluster-engine/assisted-service-9-rhel9, multicluster-engine/assisted-installer-controller-rhel8, multicluster-engine/assisted-installer-controller-rhel9
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-must-gather-rhel8, workload-availability/node-healthcheck-must-gather-rhel9
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift API for Data Protection oadp/oadp-mustgather-rhel9
    affected: workaround, no fix available “Fix deferred”
show 11 more
  • Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-rhel8, ocp-tools-4/jenkins-rhel9, ocp-tools-4/jenkins-agent-base-rhel8, ocp-tools-4/jenkins-agent-base-rhel9
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-agentic-sandbox-rhel9 Red Hat OpenShift Serverless openshift-serverless-1/kn-client-kn-rhel9, openshift-serverless-1/serverless-must-gather-rhel9, openshift-serverless-1/kn-plugin-func-func-util-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Service Mesh 3 openshift-service-mesh/istio-cni-rhel9, openshift-service-mesh/istio-pilot-rhel9, openshift-service-mesh/istio-proxyv2-rhel9, openshift-service-mesh/istio-must-gather-rhel9
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat Pen Drive Powered by Red Hat Lightspeed pen-drive/pen-drive-scanner-rhel9 Red Hat Power monitoring for Red Hat OpenShift openshift-power-monitoring/power-monitoring-rhel9-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-must-gather-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/ee-supported-rhel8, ansible-automation-platform-24/ee-supported-rhel9, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/ee-supported-rhel9, ansible-automation-platform-26/ee-supported-rhel9, ansible-automation-platform-27/ee-supported-rhel9, +8 more
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat Build of Kueue kueue/kueue-must-gather-rhel9 Red Hat Ceph Storage 9 rhceph/alloy-rhel10 Red Hat Certification Program for Red Hat Enterprise Linux 9 rhcertification/redhat-certification-baremetal, rhcertification/redhat-certification-system-ai-10 Red Hat Developer Hub 1 rhdh/rhdh-must-gather-rhel9 Red Hat Enterprise Linux 9 ubi9/buildah Red Hat Enterprise Linux 10 ubi10/podman, ubi10/buildah, rhel10/rhel-bootc, rhel10-eus/rhel-10.0-bootc, rhel10-eus/rhel-10.2-bootc, rhel10/bootc-image-builder
    +6 more products
    Red Hat OpenShift AI (RHOAI) rhoai/rhai-cli-rhel9, rhoai/odh-must-gather-rhel9, rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch291-py312-rhel9, rhoai/odh-ai-gateway-payload-processing-e2e-rhel9, rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9, +17 more Red Hat OpenShift Container Platform 4 openshift4/ose-cli, openshift4/ose-tests, openshift-kni/commatrix, openshift4/ose-deployer, openshift4/ose-cli-rhel9, openshift4/ose-sdn-rhel8, +37 more Red Hat OpenShift Container Platform 5 openshift-kni/commatrix, openshift5/ose-cli-rhel9, openshift5/cnf-tests-rhel9, openshift5/ose-tests-rhel9, openshift5/ose-tools-rhel9, openshift5/ose-deployer-rhel9, +18 more Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel9, odf4/odf-must-gather-rhel9 Red Hat OpenShift Dev Spaces devspaces/udi-rhel9, devspaces/udi-base-rhel9, devspaces/udi-base-rhel10 Red Hat OpenShift GitOps openshift-gitops-1/must-gather-rhel8, openshift-gitops-1/must-gather-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Virtualization 4 container-native-virtualization/cnv-must-gather-rhel8, container-native-virtualization/cnv-must-gather-rhel9, container-native-virtualization/ocp-virt-validation-checkup-rhel9
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 18.0 rhoso-operators/openstack-must-gather-rhel9, rhoso-operators/prometheus-podman-exporter-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Quay 3 quay/quay-builder-rhel8, quay/quay-builder-rhel9
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat Trusted Artifact Signer rhtas/ec-rhel9 Red Hat Web Terminal web-terminal/web-terminal-tooling-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Serverless openshift-serverless-clients 1.17.0-4.el9 Red Hat OpenShift Source-to-Image (S2I) source-to-image/source-to-image-rhel8, source-to-image/source-to-image-rhel9 Red Hat Build of Podman Desktop rh-podman-desktop.git 1.1.0
    not affected: vulnerable code not present

6 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 mo ago

Exploit prediction

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 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:N
CNA 4.0 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: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

Affected packages

ecosystem package affected fixed in
go github.com/moby/buildkit
<0.31.1
0.31.1

Affected products

  • moby buildkit

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.