CVE-2026-65609Out-of-bounds write in nnn
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | nnn | Fix pending | UBUNTU-CVE-2026-65609 | |
| Ubuntu 26.04 | nnn | Under investigation | UBUNTU-CVE-2026-65609 | |
| Ubuntu 24.04 | nnn | Under investigation | UBUNTU-CVE-2026-65609 | |
| Ubuntu 22.04 | nnn | Under investigation | UBUNTU-CVE-2026-65609 | |
| Ubuntu 20.04 | nnn | Fix pending | UBUNTU-CVE-2026-65609 | |
| Ubuntu 18.04 | nnn | Fix pending | UBUNTU-CVE-2026-65609 | |
| Debian 14 | nnn | Fix pending | DEBIAN-CVE-2026-65609 | |
| Debian 13 | nnn | Fix pending | DEBIAN-CVE-2026-65609 | |
| Debian 12 | nnn | Fix pending | DEBIAN-CVE-2026-65609 |
What the vendor says
As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- nnn: affected: 5.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.