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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40251— Incus out-of-bounds panic in snapshot metadata handling 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之前版本存在输入验证错误漏洞,该漏洞源于存储卷导入逻辑中边界检查无效,可能导致经过身份验证的用户通过包含物理快照目录和篡改的index.yaml文件导致越界访问,使守护进程崩溃。

AI Predicted 5.5 Difficulty: Easy EPSS 0.47% · P39

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-40251

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 out-of-bounds panic in snapshot metadata handling 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 backup restore subsystem contains an out-of-bounds panic vulnerability caused by an invalid bounds check when indexing snapshot metadata arrays, and the same flawed pattern also appears in the migration path. When iterating through physical snapshots provided in a backup archive, the loop uses the index to look up corresponding metadata in the parsed `Config.Snapshots` and `Config.VolumeSnapshots` slices. The guard condition `len(slice) >= i-1` is incorrect because it can still evaluate to true when the subsequent slice[i] access is out of bounds. An attacker can submit a backup archive that contains physical snapshot directories while supplying a tampered `index.yaml` with an empty or truncated snapshot metadata array, causing the daemon to index beyond the end of the metadata slice and crash. 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之前版本存在输入验证错误漏洞,该漏洞源于存储卷导入逻辑中边界检查无效,可能导致经过身份验证的用户通过包含物理快照目录和篡改的index.yaml文件导致越界访问,使守护进程崩溃。
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-40251

# 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-40251

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

Vendor Advisories for CVE-2026-40251 (1)

Other References for CVE-2026-40251 (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-40197 Incus nil-pointer dereference in custom volume import 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-40251

No comments yet


Leave a comment