CVE-2026-40197

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*

History

07 May 2026, 17:06

Type Values Removed Values Added
First Time Linuxcontainers
Linuxcontainers incus
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CPE cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*
References () https://github.com/lxc/incus/security/advisories/GHSA-r7w7-mmxr-47r9 - () https://github.com/lxc/incus/security/advisories/GHSA-r7w7-mmxr-47r9 - Exploit, Vendor Advisory

06 May 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-06 21:16

Updated : 2026-05-07 17:06


NVD link : CVE-2026-40197

Mitre link : CVE-2026-40197

CVE.ORG link : CVE-2026-40197


JSON object : View

Products Affected

linuxcontainers

  • incus
CWE
CWE-476

NULL Pointer Dereference