NULL Pointer Dereference Affecting github.com/lxc/incus/internal/server/storage package, versions <7.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (32nd 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-GITHUBCOMLXCINCUSINTERNALSERVERSTORAGE-16419331
  • published5 May 2026
  • disclosed4 May 2026
  • creditstamparm

Introduced: 4 May 2026

CVE-2026-40195  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade github.com/lxc/incus/internal/server/storage to version 7.0.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the CreateBucketFromBackup process when handling backup metadata during storage bucket import. An attacker can cause the daemon to crash and disrupt service availability by supplying a crafted archive with a malformed or missing configuration block.

CVSS Base Scores

version 4.0
version 3.1