Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nnn | nnn | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nnn | No fix yet | — |
| Debian 13 | nnn | No fix yet | — |
| Debian 12 | nnn | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nnn | No fix yet | — |
| Ubuntu 26.04 LTS | nnn | No fix yet | — |
| Ubuntu 24.04 LTS | nnn | No fix yet | — |
| Ubuntu 22.04 LTS | nnn | No fix yet | — |
| Ubuntu 20.04 LTS | nnn | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nnn | No fix yet | — |
References
- https://cert.pl/en/posts/2026/08/CVE-2026-65609 third-party-advisory