NULL pointer dereference in Linuxcontainers Incus
CVE-2026-41684
Incus is a system container and virtual machine manager. Prior to version 7.0.0, backup.GetInfo() trusts the inline backup/index.yaml config when present and only falls back to parsing the legacy backup/container/backup.yaml file if result.Config == nil. As a result, an archive can carry a valid inline config that passes the initial import preflight while also carrying a malformed legacy backup/container/backup.yaml file that is reparsed later from the restored file system. ParseConfigYamlFile() accepts YAML documents with no container section, and multiple downstream consumers then dereference. Container without checking for nil. Confirmed examples in the instance restore and import flow include backup.UpdateInstanceConfig() and internalImportFromBackup(). An authenticated user with permission to import instance backups may be able to crash the Incus daemon with a crafted backup archive whose inline backup/index.yaml is valid but whose extracted legacy backup.yaml omits container. The crash occurs in the restore path after archive extraction has begun. This issue has been patched in version 7.0.0.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.005 (38.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 38.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Linuxcontainers Incus
- Lxc Incus — versions < 7.0.0
Weakness classification (CWE)
References
- github.com/lxc/incus/security/advisories/GHSA-x5r6-jr56-89pv (Exploit, Mitigation, Vendor Advisory)
- github.com/lxc/incus/releases/tag/v7.0.0 (Product, Patch)
Frequently asked questions
- What is CVE-2026-41684?
- CVE-2026-41684 is a medium-severity vulnerability in Linuxcontainers Incus, classified under NULL Pointer Dereference. CVSS score: 6.5/10. Published 2026-05-07.
- How severe is CVE-2026-41684?
- Medium severity. CVSS v3 base score is 6.5 out of 10.