Skip to content

Incus: Unbounded YAML Metadata Decode via Parsing #518342

Closed

Description

@nixpkgs-security-tracker

Description

Incus is a system container and virtual machine manager. Prior to version 7.0.0, user provided image and backup tarballs would be unpacked and YAML files parsed without any size restrictions. This was making it easy for an authenticated user to provide a crafted image or backup tarball that when parsed by Incus would lead to a very large YAML document being loaded into memory, potentially causing the entire server to run out of memory. This issue has been patched in version 7.0.0.

References

Affected packages

Activity

  1. added
    1.severity: security
    on May 9, 2026
  2. herbetom commented on May 10, 2026

    @herbetom
    Member

    This currently isn't addressed in the nixos-25.11 incus-lts package.

  3. Hythera commented on May 10, 2026

    @Hythera
    Contributor

    Oops, sorry!

  4. 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