Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/moby/buildkit
  4. ›
  5. CVE-2026-61712

CVE-2026-61712: BuildKit has a possible runtime DoS via unbounded group parsing

August 19, 2026

Maliciously crafted base image or build can cause a Denial of Service (DoS) condition. When creating a container from this image, memory exhaustion occurs, leading to an Out Of Memory (OOM) kill of the buildkitd process.

References

  • github.com/advisories/GHSA-72x6-4j93-7w86
  • github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1
  • github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255
  • github.com/moby/buildkit/releases/tag/v0.31.1
  • github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86
  • nvd.nist.gov/vuln/detail/CVE-2026-61712

Code Behaviors & Features

Detect and mitigate CVE-2026-61712 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.31.1

Fixed versions

  • 0.31.1

Solution

Upgrade to version 0.31.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

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

Source file

go/github.com/moby/buildkit/CVE-2026-61712.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:48 +0000.