Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

CVE-2026-41684: CWE-476: NULL Pointer Dereference in lxc incus

0
Medium
VulnerabilityCVE-2026-41684cvecve-2026-41684cwe-476
Published: 05/07/2026 (05/07/2026, 13:08:12 UTC)
Source: CVE Database V5
Vendor/Project: lxc
Product: incus

Description

Incus is a system container and virtual machine manager. Prior to version 7.0.0, backup.GetInfo() trusts the inline backup/index.yaml config when present and only falls back to parsing the legacy backup/container/backup.yaml file if result.Config == nil. As a result, an archive can carry a valid inline config that passes the initial import preflight while also carrying a malformed legacy backup/container/backup.yaml file that is reparsed later from the restored file system. ParseConfigYamlFile() accepts YAML documents with no container section, and multiple downstream consumers then dereference. Container without checking for nil. Confirmed examples in the instance restore and import flow include backup.UpdateInstanceConfig() and internalImportFromBackup(). An authenticated user with permission to import instance backups may be able to crash the Incus daemon with a crafted backup archive whose inline backup/index.yaml is valid but whose extracted legacy backup.yaml omits container. The crash occurs in the restore path after archive extraction has begun. This issue has been patched in version 7.0.0.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →ai
lxc/incus
pkg:github/lxc/incus
Affected versions
<7.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 14:52:04 UTC

Technical Analysis

Incus versions before 7.0.0 trust the inline backup/index.yaml config during backup import but only parse the legacy backup/container/backup.yaml file if the inline config is nil. A crafted backup archive can contain a valid inline config and a malformed legacy backup.yaml missing the container section. The parsing function accepts YAML without a container section, leading to downstream code dereferencing a nil container pointer, causing a daemon crash. This occurs in the restore path after extraction starts, affecting functions like backup.UpdateInstanceConfig() and internalImportFromBackup(). The vulnerability is a NULL pointer dereference (CWE-476) exploitable by an authenticated user with import permissions. The issue is patched in Incus 7.0.0.

Potential Impact

An authenticated user with permission to import instance backups can cause a denial of service by crashing the Incus daemon during the restore process. There is no indication of confidentiality or integrity impact, only availability is affected. No known exploits are reported in the wild.

Mitigation Recommendations

This vulnerability is fixed in Incus version 7.0.0. Users should upgrade to version 7.0.0 or later to remediate the issue. Patch status is not explicitly confirmed beyond the version bump, so verify with vendor advisories for official fixes. Until patched, restrict import permissions to trusted users only to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-22T03:53:24.406Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fca382cbff5d8610fd58f9

Added to database: 05/07/2026, 14:36:50 UTC

Last enriched: 05/07/2026, 14:52:04 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 110

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses