CVE-2025-13566 Details
Description
A security vulnerability has been detected in jarun nnn up to 5.1. The impacted element is the function show_content_in_floating_window/run_cmd_as_plugin of the file nnn/src/nnn.c. The manipulation leads to double free. An attack has to be approached locally. The identifier of the patch is 2f07ccdf21e705377862e5f9dfa31e1694979ac7. It is suggested to install a patch to address this issue.
A double free vulnerability has been identified in jarun nnn versions through 5.1. The issue arises in the function 'show_content_in_floating_window' within 'nnn/src/nnn.c'. The vulnerability requires local access to exploit. When the 'newwin' function fails, the 'content' buffer is freed before the function returns. However, the calling function also frees the same pointer after the return, leading to a double free condition. This can cause memory corruption or a program crash.
Users are advised to update to jarun nnn version 5.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 23, 2025CISA-ADP
Assessed Nov 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/jarun/nnn/commit/2f07ccdf21e705377862e5f9dfa31e1694979ac7 | [email protected] | Source CodeVendor |
| https://github.com/jarun/nnn/issues/2091#issue-3635886658 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/jarun/nnn/issues/2091#issuecomment-3547591759 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/?ctiid.333330 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.333330 | [email protected] | AdvisoryRemedy |
| https://vuldb.com/?submit.698113 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-415 | Double Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jarun nnn | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 23, 2025 | New CVE Received | [email protected] |
Volerion