NULL Pointer Dereference Affecting github.com/lxc/incus/v6/internal/server/storage package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (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-GITHUBCOMLXCINCUSV6INTERNALSERVERSTORAGE-16419325
  • published5 May 2026
  • disclosed4 May 2026
  • creditstamparm

Introduced: 4 May 2026

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

How to fix?

There is no fixed version for github.com/lxc/incus/v6/internal/server/storage.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the CreateCustomVolumeFromBackup process. An attacker can cause the daemon to crash by importing a crafted backup archive containing a null entry in the volume_snapshots array, which leads to a nil-pointer dereference during import operations.

CVSS Base Scores

version 4.0
version 3.1