CVE-2026-40195: CWE-476: NULL Pointer Dereference in lxc incus
Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage bucket import logic allows an authenticated user with access to the storage bucket feature to cause the Incus daemon to crash. The vulnerability is present in the backup metadata handling logic, where the daemon processes the index.yaml file from an imported archive and accesses members of the parsed backup configuration without first verifying that the configuration object was initialized. A malicious or malformed index.yaml that omits the config block causes a nil-pointer dereference during bucket import operations and terminates the daemon. Repeated use of this issue can be used to keep Incus offline, causing a denial of service. This issue is fixed in version 7.0.0.
AI Analysis
Technical Summary
Incus versions before 7.0.0 have a NULL pointer dereference vulnerability (CWE-476) in the backup metadata handling during storage bucket import. The daemon processes the index.yaml file from an imported archive and accesses members of the parsed backup configuration without validating initialization. If the config block is missing, this leads to a nil-pointer dereference and daemon termination. This vulnerability allows an authenticated user with storage bucket access to crash the daemon, resulting in denial of service. The vulnerability is addressed in Incus version 7.0.0.
Potential Impact
An authenticated user with access to the storage bucket feature can cause the Incus daemon to crash by providing a malformed backup metadata file. This results in a denial of service condition, as the daemon terminates unexpectedly. There is no indication of privilege escalation or data compromise from the provided information.
Mitigation Recommendations
This vulnerability is fixed in Incus version 7.0.0. Users should upgrade to version 7.0.0 or later to remediate this issue. Patch status is not explicitly confirmed beyond the version fix; therefore, verify the vendor advisory for the latest remediation guidance.
CVE-2026-40195: CWE-476: NULL Pointer Dereference in lxc incus
Description
Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage bucket import logic allows an authenticated user with access to the storage bucket feature to cause the Incus daemon to crash. The vulnerability is present in the backup metadata handling logic, where the daemon processes the index.yaml file from an imported archive and accesses members of the parsed backup configuration without first verifying that the configuration object was initialized. A malicious or malformed index.yaml that omits the config block causes a nil-pointer dereference during bucket import operations and terminates the daemon. Repeated use of this issue can be used to keep Incus offline, causing a denial of service. This issue is fixed in version 7.0.0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Incus versions before 7.0.0 have a NULL pointer dereference vulnerability (CWE-476) in the backup metadata handling during storage bucket import. The daemon processes the index.yaml file from an imported archive and accesses members of the parsed backup configuration without validating initialization. If the config block is missing, this leads to a nil-pointer dereference and daemon termination. This vulnerability allows an authenticated user with storage bucket access to crash the daemon, resulting in denial of service. The vulnerability is addressed in Incus version 7.0.0.
Potential Impact
An authenticated user with access to the storage bucket feature can cause the Incus daemon to crash by providing a malformed backup metadata file. This results in a denial of service condition, as the daemon terminates unexpectedly. There is no indication of privilege escalation or data compromise from the provided information.
Mitigation Recommendations
This vulnerability is fixed in Incus version 7.0.0. Users should upgrade to version 7.0.0 or later to remediate this issue. Patch status is not explicitly confirmed beyond the version fix; therefore, verify the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-09T20:59:17.620Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fba9cccbff5d86105e9c2f
Added to database: 5/6/2026, 8:51:24 PM
Last enriched: 5/6/2026, 9:06:49 PM
Last updated: 5/7/2026, 8:13:15 AM
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.