CVE-2026-41684: Incus: Nil Dereferences on Restore via Malformed YAML
Vulnerability summary
CVE-2026-41684 is a medium (CVSS 6.5) NULL Pointer Dereference vulnerability in linuxcontainers incus. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 35.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 07-05-2026PublishedVulnerability first disclosed.
- 07-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 0.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundIncus
Maturity: poc
Weaknesses
CWE · root causeAffected systems
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
Ubuntu2 products
- incusAll versions (No fix recorded)
- lxdAll versions (No fix recorded)
Github.com/lxc1 product
- incusAll versions (No fix recorded)
Github.com/lxc/incus1 product
- v6All versions (No fix recorded)
Github.com/lxc/incus/v6/cmd1 product
- incusd≤ 6.23.0
Linuxcontainers1 product
- incus< 7.0.0
Lxc1 product
- incus< 7.0.0
8 vendors · 11 products
References
9 links- github.com/lxc/incus/security/advisories/GHSA-x5r6-jr56-89pvX Refsource CONFIRMREPORTWEBAdvisoryExploitMitigationVendor Advisory
- github.com/lxc/incusPACKAGE