DEBIAN-CVE-2026-40251

Source
https://security-tracker.debian.org/tracker/CVE-2026-40251
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40251.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-40251
Upstream
Published
2026-05-06T21:16:01Z
Modified
2026-09-14T17:03:10Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:13 / incus

Package

Name
incus
Purl
pkg:deb/debian/incus?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.0.4-2+deb13u7

Affected versions

6.*
6.0.4-2
6.0.4-2+deb13u1~bpo12+1
6.0.4-2+deb13u1
6.0.4-2+deb13u2~bpo12+1
6.0.4-2+deb13u2
6.0.4-2+deb13u3~bpo12+1
6.0.4-2+deb13u3
6.0.4-2+deb13u4~bpo12+1
6.0.4-2+deb13u4
6.0.4-2+deb13u5~bpo12+1
6.0.4-2+deb13u5
6.0.4-2+deb13u6~bpo12+1
6.0.4-2+deb13u6
6.0.4-2+deb13u7~bpo12+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40251.json"

Debian:14 / incus

Package

Name
incus
Purl
pkg:deb/debian/incus?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
7.0.0-1

Affected versions

6.*
6.0.4-2
6.0.4-3
6.0.5-1
6.0.5-2
6.0.5-3
6.0.5-4
6.0.5-5
6.0.5-6
6.0.5-7
6.0.5-8
6.0.6-1
6.0.6-2
6.0.6-3
6.14.0-1~exp1
6.15.0-1~exp1
6.16.0-1~exp1
6.17.0-1~exp1
6.20.0-1~exp1
6.21.0-1~exp1
6.22.0-1~exp1
6.23.0-1~exp1
7.*
7.0.0-1~bpo13+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40251.json"

Debian:12 / lxd

Package

Name
lxd
Purl
pkg:deb/debian/lxd?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.0.2-5
5.0.2-5+deb12u1
5.0.2-5+deb12u2
5.0.2-5+deb12u3
5.0.2-5+deb12u4
5.0.2-5+deb12u5
5.0.2-5+deb12u6
5.0.2-6
5.0.2+git20231211.1364ae4-1
5.0.2+git20231211.1364ae4-2
5.0.2+git20231211.1364ae4-3
5.0.2+git20231211.1364ae4-4
5.0.2+git20231211.1364ae4-5
5.0.2+git20231211.1364ae4-6
5.0.2+git20231211.1364ae4-7
5.0.2+git20231211.1364ae4-8
5.0.2+git20231211.1364ae4-9

Ecosystem specific

{
    "urgency": "end-of-life"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40251.json"

Debian:13 / lxd

Package

Name
lxd
Purl
pkg:deb/debian/lxd?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.0.2+git20231211.1364ae4-9+deb13u6

Affected versions

5.*
5.0.2+git20231211.1364ae4-9
5.0.2+git20231211.1364ae4-9+deb13u1
5.0.2+git20231211.1364ae4-9+deb13u2
5.0.2+git20231211.1364ae4-9+deb13u3
5.0.2+git20231211.1364ae4-9+deb13u4
5.0.2+git20231211.1364ae4-9+deb13u5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40251.json"