Skip to content
OpenAdvisories
High · 7.1 CVE-2026-40195 EUVD-2026-28207GHSA-gc7j-g665-rxr9GO-2026-5397

Incus nil-pointer dereference in storage bucket import allows denial of service

Published May 6, 2026 · Updated May 7, 2026 · Assigned by GitHub_M

Description

Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage bucket import logic allows an authenticated user with access to the storage bucket feature to cause the Incus daemon to crash. The vulnerability is present in the backup metadata handling logic, where the daemon processes the index.yaml file from an imported archive and accesses members of the parsed backup configuration without first verifying that the configuration object was initialized. A malicious or malformed index.yaml that omits the config block causes a nil-pointer dereference during bucket import operations and terminates the daemon. Repeated use of this issue can be used to keep Incus offline, causing a denial of service. This issue is fixed in version 7.0.0.

Affected products

VendorProductAffectedFixed
lxc incus < 7.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 incus 7.0.0-1 —
Debian 13 incus 6.0.4-2+deb13u7 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 incus No fix yet —
Ubuntu 25.10 incus No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS incus No fix yet —
Ubuntu Pro 24.04 LTS incus No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
ReleasePackageFixed inAdvisory
Alpine v3.24 incus 7.0.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/lxc/incus all versions — GO-2026-5397
Go github.com/lxc/incus/v6 all versions — GO-2026-5397
Go github.com/lxc/incus/v6/cmd/incusd < 7.0.0 7.0.0 GHSA-gc7j-g665-rxr9
Go github.com/lxc/incus/v7 < 7.0.0 7.0.0 GO-2026-5397

Advisories 1

References