[ CVE-2026-9639 · Published 26 Jun 2026 ]
LXD has CreateCustomVolumeFromBackup nil-pointer dereference on volumes[0].snapshots[*].expires_at
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official description
Nil-pointer dereference in CreateCustomVolumeFromBackup in LXD up to version 6.8 and 5.21 on Linux allows an authenticated user with can_create_storage_volumes permissions to cause a denial of service via a specially crafted custom-volume backup tarball that omits the expires_at snapshot field.
[ Fixes ]How to fix it
- github.com/canonical/lxd 0.0.0-20260622081844-85f897013ccdFixed version · GitHub Advisories · go package github.com/canonical/lxd: upgrade to 0.0.0-20260622081844-85f897013ccd or later (affected < 0.0.0-20260622081844-85f897013ccd)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
Fixed versions
- Canonical LXD: upgrade to 5.21.5 or laterEarlier versions are listed as affected
- Canonical LXD: upgrade to 6.9 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
[ Packages ]Affected open-source packages
- github.com/canonical/lxd goAffected < 0.0.0-20260622081844-85f897013ccd · fixed in 0.0.0-20260622081844-85f897013ccd · GHSA-j93m-3j9p-m5m8
[ References ]References
- github.com/canonical/lxd/security/advisories/GHSA-j93m-3j9p-m5m8vdb-entryvendor-advisory
- github.com/canonical/lxd/pull/18320patch
- github.com/canonical/lxd/pull/18390patch