← Vulnerability feed

Vulnerability record · CVE-2026-40197 · published 6 May 2026

CVE-2026-40197: Linuxcontainers incus null pointer dereference vulnerability

Linuxcontainers · Incus

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.

7.1 CVSS 4.0 High EPSS 0.44% · top 63.9% CWE-476 · NULL pointer dereference
7.1CVSS 4.0 base score
0.44%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40197 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2026-33897Linuxcontainers incus vulnerabilityIncus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used to cause arbitrary read or writ…EPSS 0.53%9.6CVE-2026-33945Linuxcontainers incus path traversal vulnerabilityIncus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For container…EPSS 0.53%8.8CVE-2026-33898Linuxcontainers incus improper authentication vulnerabilityIncus is a system container and virtual machine manager. Prior to version 6.23.0, the web server spawned by `incus webui` incorrectly validates the a…EPSS 0.48%8.7CVE-2026-23953Linuxcontainers incus vulnerabilityIncus is a system container and virtual machine manager. In versions 6.20.0 and below, a user with the ability to launch a container with a custom YA…EPSS 0.50%8.7CVE-2026-23954Linuxcontainers incus path traversal vulnerabilityIncus is a system container and virtual machine manager. Versions 6.21.0 and below allow a user with the ability to launch a container with a custom …EPSS 0.79%8.6CVE-2025-64507Linuxcontainers incus improper privilege management vulnerabilityIncus is a system container and virtual machine manager. An issue in versions prior to 6.0.6 and 6.19.0 affects any Incus user in an environment wher…EPSS 0.17%7.1CVE-2026-40251Linuxcontainers incus vulnerabilityIncus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage volume import logic allows…EPSS 0.47%7.1CVE-2026-40195Linuxcontainers incus null pointer dereference vulnerabilityIncus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage bucket import logic allows…EPSS 0.44%

Source: NIST National Vulnerability Database (record CVE-2026-40197), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.