{"id":"CVE-2026-65610","aliases":["CVE-2026-65610"],"related":[],"kind":"vulnerability","state":"published","title":"Numeric Truncation Error in nnn","summary":"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. \n\n\n\n\nMaintainer 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. \n\n\n\n\nMaintainer 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.","source":"cvelist"},{"lang":"es","text":"nnn almacena la variable homelen como uchar_t, que solo puede representar valores en el rango 0-255. Un atacante que puede influir en el entorno de ejecución de la víctima puede proporcionar una ruta HOME arbitraria con una longitud que se trunca a 0. La expresión (homelen - 1) se promociona a int con signo y se convierte en -1, produciendo una lectura fuera de límites y una escritura fuera de límites un byte antes del búfer de la ruta.\n\nEl mantenedor de este proyecto fue notificado sobre esta vulnerabilidad. Podría haber sido abordada, pero el mantenedor no proporcionó un rango de versiones vulnerables. Solo la versión 5.2 fue probada y confirmada como vulnerable.","source":"nvd"}],"published":"2026-08-19T13:21:13.455Z","modified":"2026-10-27T12:10:00.343Z","severity":{"scorer":"CERT-PL","scheme":"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","score":2.4,"rating":"LOW"},"severities":[{"scorer":"CERT-PL","scheme":"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","score":2.4,"rating":"LOW"}],"cwes":["CWE-197"],"affected":[{"ranges":[{"type":"git","version":"5.2","status":"affected"}],"vendor":"nnn","product":"nnn","repo":"https://github.com/jarun/nnn","source":"cvelist"}],"references":[{"url":"https://cert.pl/en/posts/2026/08/CVE-2026-65609","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Michał Majchrowicz (AFINE Team)","Marcin Wyczechowski (AFINE Team)"],"assigner":"CERT-PL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-20T15:32:36.475Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65610","url":"https://www.cve.org/CVERecord?id=CVE-2026-65610","licence":"CVE Terms of Use","modified":"2026-08-20T15:57:11.971Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65610","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65610","licence":"Public domain","modified":"2026-10-27T12:10:00.343Z"}],"updatedAt":"2026-11-25T22:59:33.925Z","epss":{"score":0.00123,"percentile":0.02277,"date":"2026-12-01T12:00:22.000Z"}}