# CVE-2026-65610: Numeric Truncation Error in nnn

- Severity: Low 2.4 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-19T13:21:13.455Z
- Modified: 2026-10-27T12:10:00.343Z
- Weaknesses: CWE-197
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

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

(As written by CVE List.)

## Affected

- nnn nnn: 5.2

## References

- <https://cert.pl/en/posts/2026/08/CVE-2026-65609> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-65610](https://www.cve.org/CVERecord?id=CVE-2026-65610), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-65610](https://nvd.nist.gov/vuln/detail/CVE-2026-65610), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-65610 · Whole record: https://cve.day/CVE-2026-65610.json · Rebuilt by cve.day 2026-11-25T22:59:33.925Z
