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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-40251— Incus out-of-bounds panic in snapshot metadata handling allows denial of service

EPSS 0.04% · P13
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
对数组索引的验证不恰当
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
lxcincus < 7.0.0 -

II. Public POCs for CVE-2026-40251

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40251

登录查看更多情报信息。

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

CVE-2026-40243Incus OVN TLS verification accepts peer-supplied roots and permits endpoint impersonation
CVE-2026-40197Incus nil-pointer dereference in custom volume import allows denial of service
CVE-2026-40195Incus 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