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 t…

EPSS: 0.000 (5.4th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.