CVE-2026-65610

Numeric Truncation Error in nnn

State
Published
Severity
2.4 Low
Published
Aug 19, 2026
Updated
Aug 20, 2026
Reserved
Jul 22, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.4 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NCERT-PL

Weaknesses

Affected Products

ProductVersions
nnnnnn
  • 5.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.