llamaCVEVulnerability Intelligence
/
incus

CVE-2026-40251

Incus out-of-bounds panic in snapshot metadata handling allows denial of service

Specific setups onlySin parche publicado
Descargar PNG JSON
CVSS 4.0
7.1
Alta
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 Fuente: CNA
6.5NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición196 dDesde la divulgación, 6 may 2026, 3:40 p. m.
Detección180 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche v7.0.0
Monitoreo
Detectada
Verificada
1 may 26
6 may 26
7 may 26
3 nov 26
19 nov 26
1 may 26
21 jun 26
10 ago 26
30 sept 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche v7.0.0 github.com/lxc/incus/v7 · -5 d desde divulgación
Divulgación Publicada CVE-2026-40251 divulgada · CVSS 7.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects Incus releases before 7.0.0 for authenticated users of the storage volume feature who import a backup archive with tampered snapshot metadata. Fixed in 7.0.0.

¿Qué significa?A crafted backup archive containing physical snapshot directories, with a tampered index.yaml whose snapshot metadata array is empty or truncated, triggers an out-of-bounds panic. The panic crashes the Incus daemon, and repeated use can keep Incus offline.
¿Quién está afectado?The listed ranges cover Incus releases before 7.0.0. The attacker must be an authenticated user with access to Incus' storage volume feature and must submit a backup archive that contains physical snapshot directories. To check a system, run incus version and compare the result with 7.0.0.
¿Qué hacer?Upgrade Incus to 7.0.0 or later, which is the listed fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Attacker must be an authenticated user with access to the storage volume feature“an authenticated user with access to Incus' storage volume feature”
02
Attacker submits a backup archive containing physical snapshot directories with a tampered index.yaml that has an empty or truncated snapshot metadata array“submitting a backup archive that contains physical snapshot directories”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
github.com/lxc/incus · github.com/lxc/incus/v6todas
incus · github.com/lxc/incus/v7 · github.com/lxc/incus/v6/cmd/incusd< 7.0.0
v0.7.0
v6.23.0
7.0.0
v7.6.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/lxc/incus
Sin parche — — v0.7.0 afectada
gogithub.com/lxc/incus/v6
Sin parche — — v6.23.0 afectada
gogithub.com/lxc/incus/v7
Corregida v7.0.0 -5 d v7.6.0 no afectada
Versiones corregidas7.0.0v7.0.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/lxc/incus/security/advisories/GHSA-4m88-wxj4-9qj6
Otrahttps://github.com/lxc/incus/blob/v6.22.0/internal/server/storage/backend.go

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.