CVEfocus › CVE database › CVE-2026-40195

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

CVSS 7.1 HighEPSS 0.4% (higher than 30% of CVEs)Published 2026-05-06Updated 2026-05-07Assigner: GitHub_M

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.

CWE-476

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
5Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10incusFix pendingUBUNTU-CVE-2026-40195
Ubuntu 26.04incusFix pendingUBUNTU-CVE-2026-40195
Ubuntu 25.10incusWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-40195
Ubuntu 24.04incusFix pendingUBUNTU-CVE-2026-40195
Debian 14incusFixed7.0.0-1DEBIAN-CVE-2026-40195
Debian 13incusFixed6.0.4-2+deb13u7DEBIAN-CVE-2026-40195
Alpine Linux 3.24incusFixed7.0.0-r0ALPINE-CVE-2026-40195
Go librarygithub.com/lxc/incusFix pendingGO-2026-5397
Go librarygithub.com/lxc/incus/v6Fix pendingGO-2026-5397
Go librarygithub.com/lxc/incus/v6/cmd/incusdFixed7.0.0GHSA-gc7j-g665-rxr9
Go librarygithub.com/lxc/incus/v7Fixed7.0.0GO-2026-5397

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.