CVEfocus › CVE database › CVE-2026-41684

CVE-2026-41684Incus: Nil Dereferences on Restore via Malformed YAML

CVSS 6.5 MediumEPSS 0.5% (higher than 33% of CVEs)Published 2026-05-07Updated 2026-05-07Assigner: GitHub_M

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.

CWE-476

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
10Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10incusFix pendingUBUNTU-CVE-2026-41684
Ubuntu 26.04incusFix pendingUBUNTU-CVE-2026-41684
Ubuntu 25.10incusWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-41684
Ubuntu 24.04incusFix pendingUBUNTU-CVE-2026-41684
Ubuntu 20.04lxdFix pendingUBUNTU-CVE-2026-41684
Ubuntu 18.04lxdFix pendingUBUNTU-CVE-2026-41684
Ubuntu 16.04lxdFix pendingUBUNTU-CVE-2026-41684
Debian 14incusFixed7.0.0-1DEBIAN-CVE-2026-41684
Debian 13incusFixed6.0.4-2+deb13u7DEBIAN-CVE-2026-41684
Debian 13lxdFixed5.0.2+git20231211.1364ae4-9+deb13u6DEBIAN-CVE-2026-41684
Debian 12lxdFix pendingDEBIAN-CVE-2026-41684
Alpine Linux 3.24incusFixed7.0.0-r0ALPINE-CVE-2026-41684
Go librarygithub.com/lxc/incusFix pendingGO-2026-5742
Go librarygithub.com/lxc/incus/v6Fix pendingGO-2026-5742
Go librarygithub.com/lxc/incus/v6/cmd/incusdFix pendingGHSA-x5r6-jr56-89pv

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.