Bug 2521954 - CVE-2026-65609 nnn: nnn: Out-of-bounds write via crafted session file [fedora-all]
Summary: CVE-2026-65609 nnn: nnn: Out-of-bounds write via crafted session file [fedora...
Keywords:
Status: CLOSED RAWHIDE
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": ["77529945-af09-4c74-89e6-a...
Depends On:
Blocks: CVE-2026-65609
TreeView+ depends on / blocked
 
Reported: 2026-08-24 14:07 UTC by Vladimir Vasilev
Modified: 2026-08-25 07:08 UTC (History)
2 users (show)

Fixed In Version: nnn-5.3-1.fc46
Clone Of:
Environment:
Last Closed: 2026-08-25 07:08:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-24 14:07:26 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 is vulnerable to Out-of-Bound write vulnerability. Due to lack of validation of attacker-controlled length fields deserialized from a session file, a crafted session file can cause nnn to write data beyond the bounds of fixed-size global buffers when loaded with the -s option. An attacker who can place a malicious session file in the victim's nnn session directory can exploit this to corrupt adjacent global state.




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.

Comment 1 Vojtech Trefny 2026-08-25 07:08:14 UTC
Fixed in https://github.com/jarun/nnn/commit/8937bfd7e7fe05170f646557f3897c14cc2a91d5 which is available in the latest 5.3 release.


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