1. Archivio CVE
  2. 2026
  3. CVE-2026-44028

CVE-2026-44028

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N 7.5 – Alta

Descrizione

An issue was discovered in Nix before 2.34.7 and Lix before 2.95.2. Unbounded recursion in the NAR (Nix Archive) parser could lead to a stack-to-heap overflow when the parser is run on a coroutine stack. The stack is allocated without a guard page, which means that a stack overflow could overwrite memory on the heap and could allow arbitrary code execution as the Nix daemon (run as root in multi-user installations) if ASLR hardening is bypassed. This can be exploited by all users able to connect to the daemon (e.g., in Nix, this is configurable via the allowed-users setting, defaulting to all users). The fixed versions are 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7 for Nix (introduced in 2.24.4); and 2.95.2, 2.94.2, and 2.93.4 for Lix (introduced in 2.93.0).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lix project lix >= 2.93.0 < 2.93.4 –
lix project lix >= 2.94.0 < 2.94.2 –
lix project lix >= 2.95.0 < 2.95.2 –
nixos nix >= 2.24.4 < 2.28.7 –
nixos nix >= 2.29.0 < 2.29.4 –
nixos nix >= 2.30.0 < 2.30.5 –
nixos nix >= 2.31.0 < 2.31.5 –
nixos nix >= 2.32.0 < 2.32.8 –
nixos nix >= 2.33.0 < 2.33.6 –
nixos nix >= 2.34.0 < 2.34.7 –
Tutte le 21 vulnerabilità di Nixos Nix

Tipo di vulnerabilità

CWE-674 Ricorsione non controllata

Il prodotto non controlla la profondità della ricorsione, che può consumare risorse eccessive come la memoria o lo stack del programma.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo Ensure that an end condition will be reached under all logic conditions. The end condition may include checking against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Sviluppo Increase the stack size.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 661 CVE di tipo CWE-674, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org