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

[CVE catalog]

Severity
High · CVSS 7.1CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlxdtrixie5.0.2+git20231211.1364ae4-9+deb13u7fixed
Debianlxdtrixie-security5.0.2+git20231211.1364ae4-9+deb13u7fixed
Debianlxdbookworm5.0.2-5+deb12u6vulnerable
Debianlxdbookworm-security5.0.2-5+deb12u6vulnerable
CpelxdNot reportedNot reportedvulnerable
CpeincusNot reported7.0.0fixed
CpeincusNot reported7.0.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlxdsourcetrixie5.0.2+git20231211.1364ae4-9+deb13u6not yet assignedNot reportedNot reported
Debianlxdsourcebookworm(unfixed)end-of-lifeNot reportedNot reported
CpeincuscpeNot reported7.0.0Not reportedNot reportedNot reported
CpeincuscpeNot reported7.0.0Not reportedNVD-CVE-2026-40251Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [lxd]Affected
    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-agent]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-client]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-migrate]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-tools]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

[Debian 13 (Trixie)]

  • Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · all · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · all · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · all · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · all · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · all · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

  • [incus]Fixed
    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

  • [incus-base]Fixed

    Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u7

      nvd · incus · debian · 13

  • [lxd]Fixed
    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

  • [lxd-agent]Fixed

    Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

  • [lxd-client]Fixed

    Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

  • Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

  • [lxd-tools]Fixed

    Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u6

      nvd · lxd · debian · 13

Observed:

References