CVE-2026-65610CWE-197

CVE-2026-65610

published August 19, 2026

CVSS
2.4
EPSS
0%
Percentile
2.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
2.4 · NONE
CVSS v4.0
2.4 · 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
EPSS
0.00123 · 2.4th percentile
Weakness
CWE-197 · Numeric Truncation Error
Published
2026-08-19T18:17Z
References (1)
EPSS history
Timeline
  • 19 AUG 13:21Z
    Numeric Truncation Error in nnn
    cvelistv5