CVE-2025-13566 jarun nnn nnn.c run_cmd_as_plugin double free
A double free vulnerability in nnn allows local attackers to potentially execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-13566?
CVE-2025-13566 is a medium-severity use after free vulnerability in jarun nnn, published on 23 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-13566?
How do I fix CVE-2025-13566?
No fix has been published for CVE-2025-13566 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-13566 being exploited?
There is no known exploitation of CVE-2025-13566 in the wild and no public exploit code.
Sources
Also known as GHSA-mggq-rppf-vgmq.