nix — security advisory
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).
- Products
- nix
- Affected versions
- 2.26.3+dfsg-1, 2.32.5+dfsg-1, 2.32.5+dfsg-2, 2.34.3+dfsg-1, 2.34.6+dfsg-1, 2.34.8+dfsg-1
- Fixed versions
- 2.34.8+dfsg-1
- CVEs
- CVE-2026-44028
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:46 UTC · Revision 2
Source evidence
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).
osv:DEBIAN-CVE-2026-44028
nix
Fixed versions: Not specified
nix
Fixed versions: 2.34.8+dfsg-1
Complete source record
{
"id": "156f9b1b19006b6695244fc9c51ff8f304b79bcc0996566a4ce0b72f6d0f09cb",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-44028",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-44028",
"summary": "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).",
"evidence": "osv:DEBIAN-CVE-2026-44028",
"products": [
{
"name": {
"value": "nix",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.26.3+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.32.5+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.32.5+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.34.3+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.34.6+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.34.8+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nix",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.34.8+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "2.26.3+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.32.5+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.32.5+dfsg-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.34.3+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.34.6+dfsg-1",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-44028",
"aliases": [
"DEBIAN-CVE-2026-44028"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nix",
"purl": "pkg:deb/debian/nix?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.26.3+dfsg-1",
"2.32.5+dfsg-1",
"2.32.5+dfsg-2",
"2.34.3+dfsg-1",
"2.34.6+dfsg-1",
"2.34.8+dfsg-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44028.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.34.8+dfsg-1"
}
]
}
],
"package": {
"name": "nix",
"purl": "pkg:deb/debian/nix?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.26.3+dfsg-1",
"2.32.5+dfsg-1",
"2.32.5+dfsg-2",
"2.34.3+dfsg-1",
"2.34.6+dfsg-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44028.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T09:47:42.377141733Z",
"provider": "osv",
"upstream": [
"CVE-2026-44028"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-44028"
]
},
"related_cves": [
{
"value": "CVE-2026-44028",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461183,
"published_at": "2026-05-05T01:16:06.983+00:00"
}