All vulnerabilities

Servers and applications

GHSA-23fc-ggg4-5r2r

Instances can exhaust the memory, CPU and other resources of the Incus daemon and its helpers

Severity
Medium 6.5
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Allocation without limits (CWE-770)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

Several code paths in incusd and in the helper processes it runs on the host on behalf of an instance (forkfile, forkproxy, forknet) read data produced by the instance, or wait on the instance, without any bound on size or time.

This covers the guest API (/dev/incus), the communication with the agent of a virtual machine, the virtual machine console log, the network state collected from a container, files read from an instance's root filesystem, the output of rsync when copying an instance, the list of hard links kept when exporting an instance, proxy devices, port forwarding and file transfer sessions.

The memory, CPU time, processes and sockets used in those paths belong to the daemon and not to the instance, so limits.memory, limits.cpu, limits.processes and the project limits don't apply to them.

The attacker is a user inside an instance or a client that is allowed to manage instances in a project, including a restricted one.

From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

There is no complete workaround.

Running incusd with a memory limit in its service unit keeps a runaway allocation from affecting the rest of the host, the daemon is then restarted instead. Setting security.guestapi=false on instances that don't need the guest API closes the paths going through it, and restricted.devices.proxy (blocked by default) keeps restricted projects from adding proxy devices.

Workarounds as given by lxc/incus's security advisory.

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • Every version before 7.7.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,771GitHub, 29 Nov 2026
Forks
535GitHub, 29 Nov 2026
Latest release
v7.7.0GitHub, 29 Nov 2026
Released
27 Nov 2026GitHub
Developer
Linux ContainersWikidata
License
Apache License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References