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

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-04-22T08:30:04.572Z
- Modified: 2026-11-24T19:18:21.673Z
- Weaknesses: CWE-134
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- nano: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- gnu nano: 8.7
- redhat openshift_container_platform: 4.0
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0; 10.0

## References

- <https://access.redhat.com/security/cve/CVE-2026-6843> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2460017> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2026-6843](https://www.cve.org/CVERecord?id=CVE-2026-6843), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-6843](https://nvd.nist.gov/vuln/detail/CVE-2026-6843), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-6843 · Whole record: https://cve.day/CVE-2026-6843.json · Rebuilt by cve.day 2026-11-25T22:59:19.251Z
