All vulnerabilities

Servers and applications

GHSA-3jgx-fpg2-x499

Servers chosen by a client can exhaust the memory of the Incus daemon or stall it

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
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

A number of operations make incusd connect to a server named in the request: downloading an image from an image server, uploading a backup to an S3 compatible target, or talking to the agent running inside a virtual machine. Replies from those servers were read into memory without a size limit, and transfers had no requirement to make progress.

Similarly, the error output of the tar and unsquashfs commands used to unpack images and backups was kept in memory whole, and its size is decided by the content of the archive being unpacked.

A client allowed to create images or instances in a project, including a restricted project where restricted.images.servers isn't set, can make the daemon download from an image server under its control. That server can then:

  • send an endless or oversized reply, which the daemon buffers until the host runs out of memory or incusd is killed;
  • send its headers and then nothing, which keeps the server-wide lock on that image fingerprint held.
From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

Setting restricted.images.servers on restricted projects limits image downloads to trusted servers, and leaving restricted.backups at its default of block keeps restricted projects away from backup upload targets.

There is no workaround for the archive and virtual machine agent paths.

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