Advisory

DEBIAN-CVE-2026-40251

Also known as: CVE-2026-40251

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-06 21:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

incus

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 6.0.4-2+deb13u7 (ecosystem)

Fixed versions

6.0.4-2+deb13u7

Fix

  • Fixed version 6.0.4-2+deb13u7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

incus

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7.0.0-1 (ecosystem)

Fixed versions

7.0.0-1

Fix

  • Fixed version 7.0.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

lxd

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

lxd

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5.0.2+git20231211.1364ae4-9+deb13u6 (ecosystem)

Fixed versions

5.0.2+git20231211.1364ae4-9+deb13u6

Fix

  • Fixed version 5.0.2+git20231211.1364ae4-9+deb13u6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences