GHSA-4m88-wxj4-9qj6 · Severity: high · Ecosystem: go — Incus Vulnerable to Panic via Snapshot Bounds Check
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.
Conclusion & alert: CVE-2026-40251 is rated Exploit Available (50/100): CVSS High severity, with low exploitation likelihood (EPSS 0.04%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-07 | — | 0.04% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.1 | 4.0 | HIGH |
|
— | — | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
GHSA-4m88-wxj4-9qj6 · Severity: high · Ecosystem: go — Incus Vulnerable to Panic via Snapshot Bounds Check
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-40251 not yet assigned priority: Debian including 2 source packages (incus, lxd), 5 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-40251 |
ubuntu
|
medium | CVE-2026-40251 medium priority: Ubuntu including 2 source packages (incus, lxd), 13 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, upstream, xenial): needs-triage 8, DNE 5. | https://ubuntu.com/security/CVE-2026-40251 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| linuxcontainers | incus | < 7.0.0 | cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/lxc/incus/blob/v6.22.0/internal/server/storage/backend.go | Product |
| https://github.com/lxc/incus/security/advisories/GHSA-4m88-wxj4-9qj6 | Exploit Vendor Advisory |