{"id":"UBUNTU-CVE-2026-65610","details":"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.","modified":"2026-09-02T19:35:33.516275386Z","published":"2026-08-19T14:17:00Z","upstream":["CVE-2026-65610"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-65610"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-65610"}],"affected":[{"package":{"name":"nnn","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2","1.5-1","1.6-1","1.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"1.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65610.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6-1","2.7-1","2.8-1","2.8.1-1","2.9-1","3.0-1","3.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0-2","binary_name":"nnn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65610.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","4.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"4.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65610.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8-1","4.9-1","4.9-1build1","4.9-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"4.9-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65610.json"}},{"package":{"name":"nnn","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nnn?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-1","5.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nnn","binary_version":"5.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65610.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}