# CVE-2026-6843: Nano: nano: format string vulnerability leads to denial of service

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-22 · Modified: 2026-11-24
- Aliases: UBUNTU-CVE-2026-6843, DEBIAN-CVE-2026-6843
- Record: https://cvemate.com/vulnerability/CVE-2026-6843 · JSON: https://cvemate.com/vulnerability/CVE-2026-6843/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.149%, percentile 4.295%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian nano (Debian): All versions (No fix recorded) \| \< 8.4-1+deb13u1 \| \< 9.0-1
- ubuntu nano (Ubuntu): \< 6.2-1ubuntu0.2 \| \< 7.2-2ubuntu0.2 \| \< 8.4-1ubuntu0.1 \| \< 8.7.1-1ubuntu0.1
- gnu nano: 8.7
- redhat enterprise\_linux: 6.0 \| 7.0 \| 8.0 \| 9.0 \| 10.0
- redhat openshift\_container\_platform: 4.0

## References

- <https://access.redhat.com/security/cve/CVE-2026-6843>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2460017>
- <https://ubuntu.com/security/CVE-2026-6843>
- <https://www.cve.org/CVERecord?id=CVE-2026-6843>
- <https://ubuntu.com/security/notices/USN-8386-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-6843>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6843>

---

Data as of 2026-12-05T03:12:53.208Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
