CVE-2025-13566

Source
https://cve.org/CVERecord?id=CVE-2025-13566
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-13566.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-13566
Published
2025-11-23T19:32:07.206Z
Modified
2026-08-12T15:16:14.475440Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
jarun nnn nnn.c run_cmd_as_plugin double free
Details

A security vulnerability has been detected in jarun nnn up to 5.1. The impacted element is the function showcontentinfloatingwindow/runcmdas_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.

Database specific
{
    "cwe_ids": [
        "CWE-119",
        "CWE-415"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13566.json",
    "cna_assigner": "VulDB"
}
References

Affected packages

Git / github.com/jarun/nnn

Affected ranges

Type
GIT
Repo
https://github.com/jarun/nnn
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "5.0"
        },
        {
            "last_affected": "5.0"
        },
        {
            "introduced": "5.1"
        },
        {
            "last_affected": "5.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

5.*
5.0
5.1
v5.*
v5.0
v5.1

Database specific

vanir_signatures_modified
"2026-08-12T15:16:14Z"
vanir_signatures
[
    {
        "id": "CVE-2025-13566-523b892a",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "153523239238828296880592388586674029946",
                "162819211257943647346618892183141977660",
                "191949146736304450404005176714310790102",
                "176948162021785777817383105319608932628",
                "31608708068942785592210163140150862980",
                "333395910003573548942074585232319890881",
                "186181688263869742451459972924486491713",
                "6613148653552709641692056290246875171",
                "155983852445236717367353029200499752961",
                "109406417272012735794941472645084359394",
                "277248823124472081759778279599241321741",
                "69618816269089253591817952044032985024",
                "20778805858769475961401203752084299221",
                "132617586508786494924837948186865867989",
                "329066889717190482447228874335612107689"
            ]
        },
        "source": "https://github.com/jarun/nnn/commit/2f07ccdf21e705377862e5f9dfa31e1694979ac7",
        "target": {
            "file": "src/nnn.c"
        }
    },
    {
        "id": "CVE-2025-13566-5d64748d",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 688.0,
            "function_hash": "123176663315060608373738015611004158662"
        },
        "source": "https://github.com/jarun/nnn/commit/2f07ccdf21e705377862e5f9dfa31e1694979ac7",
        "target": {
            "function": "show_stats",
            "file": "src/nnn.c"
        }
    },
    {
        "id": "CVE-2025-13566-8d366529",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 3374.0,
            "function_hash": "85392299448148158862742831054527902869"
        },
        "source": "https://github.com/jarun/nnn/commit/2f07ccdf21e705377862e5f9dfa31e1694979ac7",
        "target": {
            "function": "show_content_in_floating_window",
            "file": "src/nnn.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-13566.json"