← Vulnerability feed

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

CVE-2026-40251: Linuxcontainers incus 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 backup restore subsystem contains an out-of-bounds panic vulnerability caused by an invalid bounds check when indexing snapshot metadata arrays, and the same flawed pattern also appears in the migration path. When iterating through physical snapshots provided in a backup archive, the loop uses the index to look up corresponding metadata in the parsed `Config.Snapshots` and `Config.VolumeSnapshots` slices. The guard condition `len(slice) >= i-1` is incorrect because it can still evaluate to true when the subsequent slice[i] access is out of bounds. An attacker can submit a backup archive that contains physical snapshot directories while supplying a tampered `index.yaml` with an empty or truncated snapshot metadata array, causing the daemon to index beyond the end of the metadata slice and crash. 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.47% · top 61.8% CWE-129 · CWE-129
7.1CVSS 4.0 base score
0.47%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 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 backup restore subsystem contains an out-of-bounds panic vulnerability caused by an invalid bounds check when indexing snapshot metadata arrays, and the same flawed pattern also appears in the migration path. When iterating through physical snapshots provided in a backup archive, the loop uses the index to look up corresponding metadata in the parsed `Config.Snapshots` and `Config.VolumeSnapshots` slices. The guard condition `len(slice) >= i-1` is incorrect because it can still evaluate to true when the subsequent slice[i] access is out of bounds. An attacker can submit a backup archive that contains physical snapshot directories while supplying a tampered `index.yaml` with an empty or truncated snapshot metadata array, causing the daemon to index beyond the end of the metadata slice and crash. 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-40251 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-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%7.1CVE-2026-40197Linuxcontainers 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 volume import logic allows…EPSS 0.44%

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