CVE-2026-6843
Nano: nano: format string vulnerability leads to denial of service
Monitor this CVE ↗Full CVE monitoring on Pro and Business
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| nanoRed Hat | Default status: affected | See vendor advisory |
| nanoRed Hat | Default status: affected | See vendor advisory |
| nanoRed Hat | Default status: affected | See vendor advisory |
| nanoRed Hat | Default status: affected | See vendor advisory |
| nanoRed Hat | Default status: affected | See vendor advisory |
| openshift/ose-rhel-coreos-8Red Hat | Default status: affected | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | Default status: affected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.