Numeric Truncation Error in nnn
Published Aug 19, 2026
2.4
LOWCVSS 4.0
EPSS 0.17%
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.
Affected products
-
- Version 5.2StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (1)
- https://cert.pl/en/posts/2026/08/CVE-2026-65609 third-party-advisory
| Link | Providers | Tags |
|---|---|---|
| https://cert.pl/en/posts/2026/08/CVE-2026-65609 | third-party-advisory |
Change history (0)
No recorded changes yet.