
CVE catalog
CVE-2026-40251
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 v
- Severity
- High · CVSS 7.1
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:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | lxd | trixie | 5.0.2+git20231211.1364ae4-9+deb13u7 | fixed |
| Debian | lxd | trixie-security | 5.0.2+git20231211.1364ae4-9+deb13u7 | fixed |
| Debian | lxd | bookworm | 5.0.2-5+deb12u6 | vulnerable |
| Debian | lxd | bookworm-security | 5.0.2-5+deb12u6 | vulnerable |
| Cpe | lxd | Not reported | Not reported | vulnerable |
| Cpe | incus | Not reported | 7.0.0 | fixed |
| Cpe | incus | Not reported | 7.0.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | lxd | source | trixie | 5.0.2+git20231211.1364ae4-9+deb13u6 | not yet assigned | Not reported | Not reported |
| Debian | lxd | source | bookworm | (unfixed) | end-of-life | Not reported | Not reported |
| Cpe | incus | cpe | Not reported | 7.0.0 | Not reported | Not reported | Not reported |
| Cpe | incus | cpe | Not reported | 7.0.0 | Not reported | NVD-CVE-2026-40251 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [lxd]Affected
Details (4)
5.0.2-5+deb12u6· amd64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· amd64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
- [lxd-agent]Affected
Source package: [lxd]
Details (4)
5.0.2-5+deb12u6· amd64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· amd64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
- [lxd-client]Affected
Source package: [lxd]
Details (4)
5.0.2-5+deb12u6· amd64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· amd64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
- [lxd-migrate]Affected
Source package: [lxd]
Details (4)
5.0.2-5+deb12u6· amd64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· amd64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
- [lxd-tools]Affected
Source package: [lxd]
Details (4)
5.0.2-5+deb12u6· amd64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookwormAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· amd64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
5.0.2-5+deb12u6· arm64 · bookworm-securityAffected
nvd · lxd · debian · bookworm; nvd · lxd · debian · 12
[Debian 13 (Trixie)]
Source package: [lxd]
Details (4)
5.0.2+git20231211.1364ae4-9+deb13u7· all · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· all · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· all · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· all · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
- [golang-github-lxc-incus-dev]Fixed
Source package: [incus]
Details (7)
6.0.4-2+deb13u8· all · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u8· all · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u11· all · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· all · trixie-security · Historical versionFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· all · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
- [incus]Fixed
Details (7)
6.0.4-2+deb13u8· amd64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u8· arm64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u11· amd64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· amd64 · trixie-security · Historical versionFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· arm64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
- [incus-agent]Fixed
Source package: [incus]
Details (7)
6.0.4-2+deb13u8· amd64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u8· arm64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u11· amd64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· amd64 · trixie-security · Historical versionFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· arm64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
- [incus-base]Fixed
Source package: [incus]
Details (7)
6.0.4-2+deb13u8· amd64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u8· arm64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u11· amd64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· amd64 · trixie-security · Historical versionFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· arm64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
- [incus-client]Fixed
Source package: [incus]
Details (7)
6.0.4-2+deb13u8· amd64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u8· arm64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u11· amd64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· amd64 · trixie-security · Historical versionFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· arm64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
- [incus-extra]Fixed
Source package: [incus]
Details (7)
6.0.4-2+deb13u8· amd64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u8· arm64 · trixieFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
7.0.1-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u11· amd64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· amd64 · trixie-security · Historical versionFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
6.0.4-2+deb13u9· arm64 · trixie-securityFixed · Fixed:
6.0.4-2+deb13u7nvd · incus · debian · 13
- [lxd]Fixed
Details (4)
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
- [lxd-agent]Fixed
Source package: [lxd]
Details (4)
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
- [lxd-client]Fixed
Source package: [lxd]
Details (4)
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
- [lxd-migrate]Fixed
Source package: [lxd]
Details (4)
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
- [lxd-tools]Fixed
Source package: [lxd]
Details (4)
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixieFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· amd64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
5.0.2+git20231211.1364ae4-9+deb13u7· arm64 · trixie-securityFixed · Fixed:
5.0.2+git20231211.1364ae4-9+deb13u6nvd · lxd · debian · 13
Observed:
References
- [https://github.com/lxc/incus/blob/v6.22.0/internal/server/storage/backend.go]
- [https://github.com/lxc/incus/security/advisories/GHSA-4m88-wxj4-9qj6]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40251]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40251]
- [https://security-tracker.debian.org/tracker/CVE-2026-40251]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40251.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]