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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 7.0.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-05-06 · Modified: 2026-05-07
- Aliases: UBUNTU-CVE-2026-40195, DEBIAN-CVE-2026-40195, GHSA-gc7j-g665-rxr9, GO-2026-5397, ALPINE-CVE-2026-40195
- Record: https://cvemate.com/vulnerability/CVE-2026-40195 · JSON: https://cvemate.com/vulnerability/CVE-2026-40195/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.414%, percentile 37.71%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine incus (Alpine Linux): \< 7.0.0-r0
- alpine incus-feature (Alpine Linux): \< 7.0.0-r0
- debian incus (Debian): \< 6.0.4-2+deb13u7 \| \< 7.0.0-1
- ubuntu incus (Ubuntu): All versions (No fix recorded)
- github.com/lxc incus (Go): All versions (No fix recorded)
- github.com/lxc/incus v6 (Go): All versions (No fix recorded)
- github.com/lxc/incus v7 (Go): \< 7.0.0
- github.com/lxc/incus/v6/cmd incusd (Go): \< 7.0.0
- linuxcontainers incus: \< 7.0.0
- lxc incus: \< 7.0.0

## References

- <https://github.com/lxc/incus/security/advisories/GHSA-gc7j-g665-rxr9>
- <https://ubuntu.com/security/CVE-2026-40195>
- <https://www.cve.org/CVERecord?id=CVE-2026-40195>
- <https://github.com/lxc/incus/pull/3273>
- <https://security-tracker.debian.org/tracker/CVE-2026-40195>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40195>
- <https://github.com/lxc/incus>
- <https://security.alpinelinux.org/vuln/CVE-2026-40195>

---

Data as of 2026-12-05T04:02:34.141Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
