NULL Pointer Dereference Affecting github.com/lxc/incus/v7/cmd/incusd package, versions <7.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMLXCINCUSV7CMDINCUSD-16419353
  • published5 May 2026
  • disclosed4 May 2026
  • creditraefko, Ectario

Introduced: 4 May 2026

CVE-2026-41684  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade github.com/lxc/incus/v7/cmd/incusd to version 7.0.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the restore process when handling a crafted backup archive containing a valid backup/index.yaml and a malformed legacy backup.yaml file that omits the container section. An attacker can cause the daemon to crash by importing such a backup archive, leading to a nil-pointer dereference during the restore operation. This is only exploitable if the attacker is authenticated and has permission to import instance backups.

CVSS Base Scores

version 4.0
version 3.1