CVE-2026-65610
published low CVSS 4.0 · 2.4Numeric Truncation Error in nnn
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nnn | — | nnn5.2 · Other versions: unknown | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.4 / 10
- Severity
- low
- Provider
- CERT-PL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nnn | nnn | 5.2 (affected · git)Default: unknown | CERT-PL · cna |
Weaknesses
1- CWE-197 CWE-197 Numeric truncation error
References
1Provider assertions
2CERT-PL · cna
Numeric Truncation Error in nnn
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d97ea54a596b5f5af66f612e015900fbca0710f1c81ec1f2881707cd0e9961e2
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record