7.1

CVE-2026-40197: Incus nil-pointer dereference in custom volume import allows denial of service

Analyzed
AliasesUBUNTU-CVE-2026-40197DEBIAN-CVE-2026-40197GHSA-r7w7-mmxr-47r9
Published 06-05-2026Last modified 07-05-2026

Vulnerability summary

CVE-2026-40197 is a high (CVSS 7.1) NULL Pointer Dereference vulnerability in linuxcontainers incus. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 37.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v4.0 (CVE.org)
EPSS score
0.41%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 1

Timeline

  1. 06-05-2026
    PublishedVulnerability first disclosed.
  2. 07-05-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

9 scores · 6 sources · 2 versions

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.39% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Incus

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine2 products
  • incus< 7.0.0-r0
  • incus-feature< 7.0.0-r0
Debian2 products
  • incus< 6.0.4-2+deb13u7 | < 7.0.0-1
  • lxdAll versions (No fix recorded) | < 5.0.2+git20231211.1364ae4-9+deb13u6
Github.com/lxc/incus2 products
  • v6All versions (No fix recorded)
  • v7< 7.0.0
Ubuntu2 products
  • incusAll versions (No fix recorded)
  • lxdAll versions (No fix recorded)
Github.com/lxc1 product
  • incusAll versions (No fix recorded)
Github.com/lxc/incus/v6/cmd1 product
  • incusd< 7.0.0
Linuxcontainers1 product
Lxc1 product

8 vendors · 12 products

References

8 links