Vulnerability in GNU Nano
CVE-2026-6843
A flaw was found in nano. A local user could exploit a format string vulnerability in the `statusline()` function. By creating a directory with a name containing `printf` specifiers, the application attempts to display this name, leading to a segmentation fault (SEGV). This results in a Denial of Service (DoS) for the `nano` application.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.001 (3.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 3rd percentile — 3.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-6843 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2026-6843?
- CVE-2026-6843 is a medium-severity vulnerability in GNU Nano, classified under Use of Externally-Controlled Format String. CVSS score: 5.5/10. Published 2026-04-22.
- How severe is CVE-2026-6843?
- Medium severity. CVSS v3 base score is 5.5 out of 10.