← Back to CVE Explorer

CVE-2026-44028

Full vulnerability record from the local CVENow database.

Description

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).

Severity
HIGH
CVSS score
7.5 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-05 01:16:06.983000
Last modified
2026-10-26 19:10:00.163000
View original CVE JSON
{
  "id": "CVE-2026-44028",
  "sourceIdentifier": "[email protected]",
  "published": "2026-05-05T01:16:06.983",
  "lastModified": "2026-10-26T19:10:00.163",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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)."
    },
    {
      "lang": "es",
      "value": "Se descubrió un problema en Nix anterior a la versión 2.34.7 y en Lix anterior a la versión 2.95.2. La recursividad ilimitada en el analizador NAR (Nix Archive) podría conducir a un desbordamiento de pila a montículo cuando el analizador se ejecuta en una pila de corrutinas. La pila se asigna sin una página de protección, lo que significa que un desbordamiento de pila podría sobrescribir memoria en el montículo y podría permitir la ejecución de código arbitrario como el demonio Nix (ejecutado como root en instalaciones multiusuario) si se omite el endurecimiento de ASLR. Esto puede ser explotado por todos los usuarios capaces de conectarse al demonio (por ejemplo, en Nix, esto es configurable a través de la configuración allowed-users, que por defecto permite a todos los usuarios). Las versiones corregidas son 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4 y 2.28.7 para Nix (introducido en la versión 2.24.4); y 2.95.2, 2.94.2 y 2.93.4 para Lix (introducido en la versión 2.93.0)."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "NixOS",
          "product": "Nix",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2.24.4",
              "lessThan": "2.28.7",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.29.0",
              "lessThan": "2.29.4",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.30.0",
              "lessThan": "2.30.5",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.31.0",
              "lessThan": "2.31.5",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.32.0",
              "lessThan": "2.32.8",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.33.0",
              "lessThan": "2.33.6",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.34.0",
              "lessThan": "2.34.7",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Lix Project",
          "product": "Lix",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2.93.0",
              "lessThan": "2.93.4",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.94.0",
              "lessThan": "2.94.2",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "2.95.0",
              "lessThan": "2.95.2",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "HIGH",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 1.1,
        "impactScore": 5.8
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-05-05T14:03:11.111278Z",
          "id": "CVE-2026-44028",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-674"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-lix-and-nix/77407",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/NixOS/nix/security/advisories/GHSA-vh5x-56v6-4368",
      "source": "[email protected]"
    },
    {
      "url": "https://lix.systems/blog/2026-05-05-lix-unsigned-integer-overflow/",
      "source": "[email protected]"
    },
    {
      "url": "https://www.openwall.com/lists/oss-security/2026/05/04/32",
      "source": "[email protected]"
    },
    {
      "url": "https://www.openwall.com/lists/oss-security/2026/05/04/33",
      "source": "[email protected]"
    }
  ]
}