NULL Pointer Dereference Affecting github.com/moby/buildkit/solver/llbsolver package, versions <0.33.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMOBYBUILDKITSOLVERLLBSOLVER-20826478
  • published11 Oct 2026
  • disclosed5 Oct 2026
  • credithewei-gikaku

Introduced: 5 Oct 2026

NewCVE-2026-93316  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade github.com/moby/buildkit/solver/llbsolver to version 0.33.1 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference due to the ValidateEntitlements function in solver/llbsolver/vertex.go. An attacker can panic the daemon by submitting a build that requests CDI devices when the daemon is started with --cdi-disabled or equivalent CDI-disabled configuration. When CDI support is disabled, the entitlement handling path dereferences a nil CDI manager while processing device requests, crashing the BuildKit daemon and interrupting builds.

Workarounds

  • Without --cdi-disabled in the BuildKit daemon startup flags or TOML config, let CDI device requests go through normal entitlement checks so builds that do not have the CDI entitlement fail cleanly instead of triggering the panic.

CVSS Base Scores

version 4.0
version 3.1