nnn — security advisory
nnn is vulnerable to Out-of-Bound write vulnerability. Due to lack of validation of attacker-controlled length fields deserialized from a session file, a crafted session file can cause nnn to write data beyond the bounds of fixed-size global buffers when loaded with the -s option. An attacker who can place a malicious session file in the victim's nnn session directory can exploit this to corrupt adjacent global state. Maintainer of this project was notified about this vulnerability. It might has been addressed, but the maintainer did not provide a vulnerable version range. Only version 5.2 was tested and confirmed as vulnerable.
- Products
- nnn
- Affected versions
- 1.3-2, 1.5-1, 1.6-1, 1.7-1, 2.6-1, 2.7-1, 2.8-1, 2.8.1-1, 2.9-1, 3.0-1, 3.0-2, 3.5-1, 4.3-1, 4.8-1, 4.9-1, 4.9-1build1, 4.9-1build2, 5.0-1, 5.1-1, 5.2-1, 5.3-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-65609
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:50 UTC · Revision 1
Source evidence
nnn is vulnerable to Out-of-Bound write vulnerability. Due to lack of validation of attacker-controlled length fields deserialized from a session file, a crafted session file can cause nnn to write data beyond the bounds of fixed-size global buffers when loaded with the -s option. An attacker who can place a malicious session file in the victim's nnn session directory can exploit this to corrupt adjacent global state. Maintainer of this project was notified about this vulnerability. It might has been addressed, but the maintainer did not provide a vulnerable version range. Only version 5.2 was tested and confirmed as vulnerable.
osv:UBUNTU-CVE-2026-65609
nnn
Fixed versions: Not specified
nnn
Fixed versions: Not specified
nnn
Fixed versions: Not specified
nnn
Fixed versions: Not specified
nnn
Fixed versions: Not specified
nnn
Fixed versions: Not specified
Complete source record
{
"id": "7c6b6679627f7632e241377cfa9b8c328c78ceda3ed1895188848114534610bd",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-65609",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-65609",
"summary": "nnn is vulnerable to Out-of-Bound write vulnerability. Due to lack of validation of attacker-controlled length fields deserialized from a session file, a crafted session file can cause nnn to write data beyond the bounds of fixed-size global buffers when loaded with the -s option. An attacker who can place a malicious session file in the victim's nnn session directory can exploit this to corrupt adjacent global state. Maintainer of this project was notified about this vulnerability. It might has been addressed, but the maintainer did not provide a vulnerable version range. Only version 5.2 was tested and confirmed as vulnerable.",
"evidence": "osv:UBUNTU-CVE-2026-65609",
"products": [
{
"name": {
"value": "nnn",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nnn",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.6-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.7-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.8-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.8.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.9-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nnn",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.3-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "nnn",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.8-1",
"evidence": "/affected/3/versions"
},
{
"value": "4.9-1",
"evidence": "/affected/3/versions"
},
{
"value": "4.9-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "4.9-1build2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "nnn",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "5.2-1",
"evidence": "/affected/4/versions"
},
{
"value": "5.3-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "nnn",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "5.1-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "UBUNTU-CVE-2026-65609",
"aliases": [
"UBUNTU-CVE-2026-65609"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/ubuntu/nnn?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.3-2",
"1.5-1",
"1.6-1",
"1.7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65609.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nnn",
"binary_version": "1.7-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/ubuntu/nnn?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.6-1",
"2.7-1",
"2.8-1",
"2.8.1-1",
"2.9-1",
"3.0-1",
"3.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65609.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nnn",
"binary_version": "3.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/ubuntu/nnn?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.5-1",
"4.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65609.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nnn",
"binary_version": "4.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/ubuntu/nnn?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"4.8-1",
"4.9-1",
"4.9-1build1",
"4.9-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65609.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nnn",
"binary_version": "4.9-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/ubuntu/nnn?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"5.1-1",
"5.2-1",
"5.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65609.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nnn",
"binary_version": "5.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nnn",
"purl": "pkg:deb/ubuntu/nnn?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"5.0-1",
"5.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65609.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nnn",
"binary_version": "5.1-1"
}
]
}
}
],
"modified": "2026-10-17T12:59:17.648983957Z",
"provider": "osv",
"upstream": [
"CVE-2026-65609"
],
"references": [
"https://ubuntu.com/security/CVE-2026-65609",
"https://www.cve.org/CVERecord?id=CVE-2026-65609"
]
},
"related_cves": [
{
"value": "CVE-2026-65609",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359600,
"published_at": "2026-08-19T14:17:00+00:00"
}