Advisory

DEBIAN-CVE-2026-40197

Also known as: CVE-2026-40197

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 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.

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