Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

nnn stores homelen variable as uchar_t, which can only represent values in the range 0-255. (CVE-2026-65610)

0
Low
Published: 08/19/2026 (08/19/2026, 15:32:26 UTC)
Source: GCVE Database

Description

The nnn file manager stores the homelen variable as an unsigned char type, which can only represent values from 0 to 255. This causes an integer truncation issue when handling HOME paths longer than 255 characters, potentially leading to a negative value after promotion and resulting in an out-of-bounds read and write one byte before the path buffer. Version 5.2 has been confirmed vulnerable. No official patch or affected version range has been provided by the maintainer.

CVSS v4.0

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected software

GitHub Actionsmore threats →ai
jarun/nnn
pkg:github/jarun/nnn
Affected versions
=5.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 18:09:49 UTC

Technical Analysis

nnn uses an unsigned char (uchar_t) type for the homelen variable, limiting it to values between 0 and 255. When an attacker controls the HOME environment variable with a length exceeding this range, the length is truncated, and the expression (homelen - 1) is promoted to a signed integer, becoming -1. This leads to an out-of-bounds read and write one byte before the allocated path buffer. The vulnerability was confirmed in version 5.2, but no explicit affected version range or patch information is available from the maintainer.

Potential Impact

An attacker able to influence the victim's execution environment can cause out-of-bounds memory access, including one byte before the path buffer. This may lead to memory corruption, potentially causing crashes or undefined behavior. The severity is rated low, and no known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or version range has been provided by the maintainer, users should monitor for updates from the project and consider avoiding version 5.2 until a fix is released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2fq9-p2vj-rc2v
Osv Schema Version
1.4.0
Aliases
["CVE-2026-65610"]
Ecosystems
[]
Database Specific Severity
LOW
Cvss Version
4.0

Threat ID: 6a85ee24acd9273b4969a4eb

Added to database: 08/19/2026, 17:55:48 UTC

Last enriched: 08/19/2026, 18:09:49 UTC

Last updated: 08/19/2026, 18:51:59 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses