Vulnerability 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.
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-65610?
CVE-2026-65610 is a documented vulnerability. 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 len...
How severe is CVE-2026-65610?
CVSS scoring is not yet available for CVE-2026-65610. Check NVD for updates.
Is there a patch for CVE-2026-65610?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.