CVE catalog

CVE-2026-65610

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 len

[CVE catalog]

Severity
Medium · CVSS 4.8CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.17% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannnnsid5.3-1vulnerable
Debiannnnforky5.3-1vulnerable
Debiannnntrixie5.0-1vulnerable
Debiannnnbookworm4.7-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannnnsourcesid(unfixed)not yet assignedNot reported[1145170]
Debiannnnsourceforky(unfixed)not yet assignedNot reported[1145170]
Debiannnnsourcetrixie(unfixed)not yet assignedNot reported[1145170]
Debiannnnsourcebookworm(unfixed)not yet assignedNot reported[1145170]

[Debian bug #1145170]

Notes

[trixie] nnn: Minor issue [bookworm] nnn: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [nnn]Affected
    Details (2)
    • 4.7-1 · amd64 · bookworm

      Affected

      nvd · nnn · debian · bookworm; nvd · nnn · debian · 12

    • 4.7-1 · arm64 · bookworm

      Affected

      nvd · nnn · debian · bookworm; nvd · nnn · debian · 12

[Debian 13 (Trixie)]

  • [nnn]Affected
    Details (2)
    • 5.0-1 · amd64 · trixie

      Affected

      nvd · nnn · debian · 13

    • 5.0-1 · arm64 · trixie

      Affected

      nvd · nnn · debian · 13

Observed:

References