cve.bz

CVE-2026-121522 moby buildkit: NULL Pointer Dereference

6.7 mediumEPSS 0.2%

Medium (6.7) in moby buildkit. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In BuildKit versions v0.26.0 through v0.34.1, a specific build definition that resolves metadata for the same Git source reference twice can cause the BuildKit daemon to panic and crash, interrupting builds handled by that daemon. The issue is fixed in v0.34.2.

Severity

CVSS 4.0

6.7 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.2% (unchanged from 0.1% a week ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-121522 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-121522?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-121522?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-121522 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
moby BuildKitfrom 0.26.0 before 0.34.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu26.04:LTS, 26.10, Pro:20.04:LTS and 2 moredocker.io, docker.io-appno fix listedUBUNTU-CVE-2026-121522
UbuntuPro:16.04:LTS, Pro:18.04:LTSdocker.iono fix listedUBUNTU-CVE-2026-121522
Red Hathummingbird:1podman, podmansh, podman-docker and 2 more5:6.1.4-1.3.hum1RHSA-2026:95611

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in BuildKit's Git source reference resolution logic. When processing a crafted build definition that resolves metadata for the same Git source reference multiple times, an unhandled panic is triggered, crashing the BuildKit daemon and resulting in a denial of service to all active build operations.

Red Hat's mitigation

Restrict build submission permissions to trusted users and avoid building untrusted definitions or repositories on shared daemon instances. In multi-tenant environments, isolate BuildKit daemon instances per workload to prevent daemon-level crashes from impacting concurrent builds.

ProductPackageStateAdvisory
Red Hat Hardened Imagespodman-main-6.1.4-1.3.hum1Fixed 2026-11-05RHSA-2026:95611
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Out of support scope
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Out of support scope
Compliance Operatorcompliance/openshift-compliance-must-gather-rhel8Fix deferred
Confidential Compute Attestationbuild-of-trustee/trustee-must-gather-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Fix deferred
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operatorFix deferred
DPU kit for NVIDIAdpu-kit-for-nvidia/bluefield-ocp-layer-rhel10Fix deferred
DPU kit for NVIDIAdpu-kit-for-nvidia/must-gather-rhel10Fix deferred
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-must-gather-rhel9Fix deferred
Logical Volume Manager Storagelvms4/lvms-must-gather-rhel8Out of support scope
Logical Volume Manager Storagelvms4/lvms-must-gather-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-cli-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-discovery-addon-rhel9Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-log-reader-rhel8Out of support scope
Migration Toolkit for Containersrhmtc/openshift-migration-must-gather-rhel8Out of support scope
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel9Out of support scope
149 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-121522.

References

Check your stackJSON