Cyber Resilience

CVE-2026-9639

Memory Safety in Canonical Lxd 5.0.0 – 5.21.5

Public PoCMemory Safety
Published
26 June 2026
Modified
02 July 2026
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0042 35th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-9639 is a medium-severity NULL Pointer Dereference (CWE-476) vulnerability in Canonical Lxd. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 35th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Nil-pointer dereference enables authenticated local exploitation of LXD storage volume backup handling to crash the service (Endpoint DoS via application exploitation).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1499.004 Application or System Exploitation Impactconfidence: HIGH
Nil-pointer dereference triggered by a crafted backup tarball causes application crash, enabling denial-of-service against the LXD service.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-23353Same product: Linux Linux Kernel
CVE-2026-31481Same product: Linux Linux Kernel
CVE-2026-23286Same product: Linux Linux Kernel
CVE-2026-31394Same product: Linux Linux Kernel
CVE-2026-31727Same product: Linux Linux Kernel
CVE-2026-45842Same product: Linux Linux Kernel
CVE-2026-22998Same product: Linux Linux Kernel
CVE-2026-23366Same product: Linux Linux Kernel
CVE-2026-43086Same product: Linux Linux Kernel
CVE-2026-31600Same product: Linux Linux Kernel

Affected Assets

canonical
lxd
5.0.0 — 5.21.5 · 6.0 — 6.9

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • AC-6 Least Privilege
  • SI-2 Flaw Remediation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation of the custom-volume backup tarball structure and presence of required fields such as expires_at before CreateCustomVolumeFromBackup processes it.

prevent

Restricts the can_create_storage_volumes permission to only the minimal set of accounts that truly require it, reducing the population able to submit the malicious tarball.

prevent

Mandates timely application of vendor patches that correct the nil-pointer dereference in CreateCustomVolumeFromBackup.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices (static analysis, code review, safe coding standards) directly prevent NULL dereference bugs during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect NULL dereference defects before release.

prevents

Secure SDLC mandates defensive coding practices that can prevent NULL dereferences.

prevents

Application security requirements can specify input validation and pointer-safety rules.

prevents

Secure architecture principles encourage defensive design that avoids unsafe pointer use.

prevents

Secure coding standards directly require NULL-pointer checks and safe dereference patterns.

References