CVE-2026-65610

NameCVE-2026-65610
Descriptionnnn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1145170

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nnn (PTS)bookworm4.7-1vulnerable
trixie5.0-1vulnerable
forky, sid5.3-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nnnsource(unstable)(unfixed)1145170

Notes

[trixie] - nnn <no-dsa> (Minor issue)
[bookworm] - nnn <postponed> (Minor issue)
https://cert.pl/en/posts/2026/08/CVE-2026-65609

Search for package or bug name: Reporting problems