Description
nnn stores homelen variable as uchar_t, which can only represent values in the range 0-255. An attacker who can influence the victim's execution environment can provide an arbitrary HOME path with length that is truncated to 0. The expression (homelen - 1) is promoted to signed int and becomes -1 and producing an out-of-bounds read and an out-of-bounds write one byte before the path buffer. 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.
Severity (CVSS)
| Base score | 2.4 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-197 — CWE-197 Numeric truncation error
Affected products
| Vendor | Product | Versions |
|---|---|---|
| nnn | nnn | 5.2 |
References
- https://cert.pl/en/posts/2026/08/CVE-2026-65609 (third-party-advisory)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.