Bug 2521948 - CVE-2026-65610 nnn: nnn: Out-of-bounds read and write via numeric truncation error [fedora-all]
Summary: CVE-2026-65610 nnn: nnn: Out-of-bounds read and write via numeric truncation ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: nnn
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["bdf4ecca-c43b-4a57-b940-f...
Depends On:
Blocks: CVE-2026-65610
TreeView+ depends on / blocked
 
Reported: 2026-08-24 14:06 UTC by Vladimir Vasilev
Modified: 2026-08-24 14:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-24 14:06:40 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.