node-immutable — security advisory
Immutable.js provides many Persistent Immutable data structures. Prior to 4.3.9 and 5.1.8, List#set, List#setSize, List#setIn, List#updateIn, and the functional set, setIn, and updateIn mishandle an index or size in the range 2 ** 30 to 2 ** 31 in setListBounds in src/List.js, causing an empty List to enter an uncatchable infinite loop, a populated List to allocate without bound until process abort, or setSize to silently wrap large values. This issue is fixed in versions 4.3.9 and 5.1.8.
- Products
- node-immutable
- Affected versions
- 3.8.2+dfsg-3, 4.0.0-1, 4.0.0-2, 4.1.0-3, 4.3.4-1, 4.3.8-2, 4.3.9-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-59879
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:49 UTC · Revision 1
Source evidence
Immutable.js provides many Persistent Immutable data structures. Prior to 4.3.9 and 5.1.8, List#set, List#setSize, List#setIn, List#updateIn, and the functional set, setIn, and updateIn mishandle an index or size in the range 2 ** 30 to 2 ** 31 in setListBounds in src/List.js, causing an empty List to enter an uncatchable infinite loop, a populated List to allocate without bound until process abort, or setSize to silently wrap large values. This issue is fixed in versions 4.3.9 and 5.1.8.
osv:UBUNTU-CVE-2026-59879
node-immutable
Fixed versions: Not specified
node-immutable
Fixed versions: Not specified
node-immutable
Fixed versions: Not specified
node-immutable
Fixed versions: Not specified
node-immutable
Fixed versions: Not specified
node-immutable
Fixed versions: Not specified
Complete source record
{
"id": "33b95fce5c2e0af31f8b1b79db32ab5c22f243e91b58e943245a6291cee07972",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-59879",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-59879",
"summary": "Immutable.js provides many Persistent Immutable data structures. Prior to 4.3.9 and 5.1.8, List#set, List#setSize, List#setIn, List#updateIn, and the functional set, setIn, and updateIn mishandle an index or size in the range 2 ** 30 to 2 ** 31 in setListBounds in src/List.js, causing an empty List to enter an uncatchable infinite loop, a populated List to allocate without bound until process abort, or setSize to silently wrap large values. This issue is fixed in versions 4.3.9 and 5.1.8.",
"evidence": "osv:UBUNTU-CVE-2026-59879",
"products": [
{
"name": {
"value": "node-immutable",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.8.2+dfsg-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-immutable",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.8.2+dfsg-3",
"evidence": "/affected/1/versions"
},
{
"value": "4.0.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.0.0-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-immutable",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.1.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "4.3.4-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-immutable",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3.4-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-immutable",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3.8-2",
"evidence": "/affected/4/versions"
},
{
"value": "4.3.9-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-immutable",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3.4-1",
"evidence": "/affected/5/versions"
},
{
"value": "4.3.8-2",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-59879",
"aliases": [
"UBUNTU-CVE-2026-59879"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-immutable",
"purl": "pkg:deb/ubuntu/node-immutable?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.8.2+dfsg-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-immutable",
"binary_version": "3.8.2+dfsg-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-immutable",
"purl": "pkg:deb/ubuntu/node-immutable?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.8.2+dfsg-3",
"4.0.0-1",
"4.0.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-immutable",
"binary_version": "4.0.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-immutable",
"purl": "pkg:deb/ubuntu/node-immutable?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"4.1.0-3",
"4.3.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-immutable",
"binary_version": "4.3.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-immutable",
"purl": "pkg:deb/ubuntu/node-immutable?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"4.3.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-immutable",
"binary_version": "4.3.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-immutable",
"purl": "pkg:deb/ubuntu/node-immutable?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.3.8-2",
"4.3.9-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-immutable",
"binary_version": "4.3.9-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-immutable",
"purl": "pkg:deb/ubuntu/node-immutable?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.3.4-1",
"4.3.8-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-immutable",
"binary_version": "4.3.8-2"
}
]
}
}
],
"modified": "2026-10-17T12:59:14.374368680Z",
"provider": "osv",
"upstream": [
"CVE-2026-59879"
],
"references": [
"https://ubuntu.com/security/CVE-2026-59879",
"https://www.cve.org/CVERecord?id=CVE-2026-59879",
"https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735"
]
},
"related_cves": [
{
"value": "CVE-2026-59879",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359519,
"published_at": "2026-07-08T17:17:00+00:00"
}