CVE-2026-65610

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.
CVSS

No CVSS.

Configurations

No configuration.

History

27 Oct 2026, 12:10

Type Values Removed Values Added
Summary
  • (es) 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. El 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.

19 Aug 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-19 14:17

Updated : 2026-10-27 12:10


NVD link : CVE-2026-65610

Mitre link : CVE-2026-65610

CVE.ORG link : CVE-2026-65610


JSON object : View

Products Affected

No product.

CWE
CWE-197

Numeric Truncation Error