{"id":"CVE-2026-40197","published":"2026-05-06T20:36:24Z","modified":"2026-05-07T13:28:55Z","title":"Incus nil-pointer dereference in custom volume import allows denial of service","vendor":"lxc","product":"incus","tier":"tail","description":{"text":"Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage volume import logic allows an authenticated user with access to the storage volume feature to cause the Incus daemon to crash. The custom volume backup import subsystem contains a nil-pointer dereference vulnerability during import operations. In the snapshot import loop, the daemon iterates over entries from `srcBackup.Config.VolumeSnapshots` and assumes that each slice element is initialized, then dereferences fields such as `Name`, `Config`, `Description`, `CreatedAt`, and `ExpiresAt` without first validating the element itself. Because the yaml unmarshaler accepts explicit null array elements from an attacker-controlled index.yaml and converts them into nil pointers inside the slice, an attacker can supply a backup archive containing a null entry in the volume_snapshots array. This causes a nil-pointer dereference during custom volume import and terminates the daemon, resulting in denial of service on the affected node. 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00385,"percentile":0.33416,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/lxc/incus/security/advisories/GHSA-r7w7-mmxr-47r9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"lxc","affectedVersions":[{"vendor":"lxc","product":"incus","versions":["< 7.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-07T13:21:46.355736Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/lxc/incus/v6/cmd/incusd","vulnerableRanges":["<7.0.0"],"patched":["7.0.0"],"from":["GHSA-r7w7-mmxr-47r9"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/lxc/incus","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5612"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/lxc/incus/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5612"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/lxc/incus/v7","vulnerableRanges":["<7.0.0"],"patched":["7.0.0"],"from":["GO-2026-5612"],"provenance":"source"}],"summary":{"text":"Incus, the system container and virtual machine manager, contains a nil-pointer dereference in its custom volume backup import subsystem: the snapshot import loop assumes each element of the volume snapshots array is initialized, so a null entry in the backup's index file crashes the daemon. An attacker who has an authenticated account with access to the storage volume feature, and who can supply a crafted backup archive for import, can crash the Incus daemon on the affected node, and repeated abuse can keep it offline.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:33Z"},"euvd":{"id":"EUVD-2026-28209","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lxc-incus-cve-2026-40197","children":[{"from":"CVE-2026-40197","to":"CVE-2026-48756","relation":"variant","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"variant","quote":"This is a sibling-field variant of GHSA-r7w7-mmxr-47r9 (CVE-2026-40197).","from":"CVE.org","in":"CVE-2026-48756"},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same product + CWE + description similarity"}]}]}}