Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40197— Incus nil-pointer dereference in custom volume import allows denial of service

Quick assessment

Affected
lxc incus
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Incus是LXC开源的一个系统容器和虚拟机管理器。 Incus 7.0.0之前版本存在代码问题漏洞,该漏洞源于存储卷导入逻辑中缺少验证逻辑,可能导致经过身份验证的用户通过包含空条目的备份归档文件导致空指针取消引用,使守护进程崩溃。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.44% · P37

Affected Version Matrix 1

VendorProduct Version RangeStatus
lxc incus < 7.0.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40197

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Incus nil-pointer dereference in custom volume import allows denial of service
Source: CVE Program / CVE List V5
Vulnerability Description
Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage volume import logic allows an authenticated user with access to the storage volume feature to cause the Incus daemon to crash. The custom volume backup import subsystem contains a nil-pointer dereference vulnerability during import operations. In the snapshot import loop, the daemon iterates over entries from `srcBackup.Config.VolumeSnapshots` and assumes that each slice element is initialized, then dereferences fields such as `Name`, `Config`, `Description`, `CreatedAt`, and `ExpiresAt` without first validating the element itself. Because the yaml unmarshaler accepts explicit null array elements from an attacker-controlled index.yaml and converts them into nil pointers inside the slice, an attacker can supply a backup archive containing a null entry in the volume_snapshots array. This causes a nil-pointer dereference during custom volume import and terminates the daemon, resulting in denial of service on the affected node. Repeated use of this issue can be used to keep Incus offline, causing a denial of service. This issue is fixed in version 7.0.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
空指针解引用
Source: CVE Program / CVE List V5
Vulnerability Title
Incus 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Incus是LXC开源的一个系统容器和虚拟机管理器。 Incus 7.0.0之前版本存在代码问题漏洞,该漏洞源于存储卷导入逻辑中缺少验证逻辑,可能导致经过身份验证的用户通过包含空条目的备份归档文件导致空指针取消引用,使守护进程崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
lxc incus < 7.0.0 -

II. Public POCs for CVE-2026-40197

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40197

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-40197 (1)

Same Patch Batch · lxc · 2026-05-06 · 4 CVEs total

CVE-2026-40243 Incus OVN TLS verification accepts peer-supplied roots and permits endpoint impersonation
CVE-2026-40251 Incus out-of-bounds panic in snapshot metadata handling allows denial of service
CVE-2026-40195 Incus nil-pointer dereference in storage bucket import allows denial of service

IV. Related Vulnerabilities

V. Comments for CVE-2026-40197

No comments yet


Leave a comment