Skip to content

Incus nil-pointer dereference in storage bucket import allows denial of service #517666

Closed

Description

@nixpkgs-security-tracker

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.

References

Affected packages

Activity

  1. added
    1.severity: security
    on May 7, 2026
  2. herbetom commented on Jun 2, 2026

    @herbetom
    Member

    The incus-lts package on nixos-25.11 package has now been marked as vulnerable: #527134

    The recommendation is to update to either 7.0 (which is even available via the incus package on nixos-25.11) or update to 26.05 and get 7.0 or 7.1 there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.severity: security

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions