Description
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.
Affected products
gnu: nano; redhat: openshift container platform; redhat: enterprise linux
References2
- access.redhat.com/security/cve/CVE-2026-6843 Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2460017 Issue TrackingThird Party Advisory
Metrics
- CVSS 3.1
-
5.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 1 · as of 13 November 2026
- CWE
- CWE-134
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.