# CVE-2026-6843: nano: A flaw was found in nano

CVE-2026-6843 is fixed in 6 products on 1 platform, first by FEDORA-2026-D0A0F1C3D2, released April 30, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-6843
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0011
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 22, 2026

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | default-editor Fedora 43 | 8.5-3.fc43 | [FEDORA-2026-D0A0F1C3D2](https://patchblox.com/security/data/fix/linux/fedora-2026-d0a0f1c3d2.md) | Apr 30, 2026 |
| Linux | nano Debian 13.5 (trixie) | 8.4-1+deb13u1 | [DEBIAN-CVE-2026-6843](https://patchblox.com/security/data/fix/linux/debian-cve-2026-6843.md) | May 15, 2026 |
| Linux | nano Debian 14 | 9.0-1 | [DEBIAN-CVE-2026-6843](https://patchblox.com/security/data/fix/linux/debian-cve-2026-6843.md) | May 15, 2026 |
| Linux | nano Fedora 43 | 8.5-3.fc43 | [FEDORA-2026-D0A0F1C3D2](https://patchblox.com/security/data/fix/linux/fedora-2026-d0a0f1c3d2.md) | Apr 30, 2026 |
| Linux | nano Ubuntu 22.04.1 LTS (jammy) | 6.2-1ubuntu0.2 | [nano 6.2-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-nano-6.2-1ubuntu0.2.md) | Jun 24, 2026 |
| Linux | nano Ubuntu 24.04.5 LTS (noble) | 7.2-2ubuntu0.2 | [nano 7.2-2ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-nano-7.2-2ubuntu0.2.md) | Jun 24, 2026 |
| Linux | nano Ubuntu 25.10 (questing) | 8.4-1ubuntu0.1 | [nano 8.4-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-nano-8.4-1ubuntu0.1.md) | Jun 24, 2026 |
| Linux | nano Ubuntu 26.04.1 LTS (resolute) | 8.7.1-1ubuntu0.1 | [nano 8.7.1-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-nano-8.7.1-1ubuntu0.1.md) | Jul 22, 2026 |
| Linux | nano opensuse-leap 16.0 | 9.1-bp160.1.1 | [OPENSUSE-SU-2026:21166-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21166-1.md) | Jun 29, 2026 |
| Linux | nano-debuginfo Fedora 43 | 8.5-3.fc43 | [FEDORA-2026-D0A0F1C3D2](https://patchblox.com/security/data/fix/linux/fedora-2026-d0a0f1c3d2.md) | Apr 30, 2026 |
| Linux | nano-debugsource Fedora 43 | 8.5-3.fc43 | [FEDORA-2026-D0A0F1C3D2](https://patchblox.com/security/data/fix/linux/fedora-2026-d0a0f1c3d2.md) | Apr 30, 2026 |
| Linux | nano-default-editor Fedora 43 | 8.5-3.fc43 | [FEDORA-2026-D0A0F1C3D2](https://patchblox.com/security/data/fix/linux/fedora-2026-d0a0f1c3d2.md) | Apr 30, 2026 |
| Linux | nano-tiny Ubuntu 22.04.1 LTS (jammy) | 6.2-1ubuntu0.2 | [nano-tiny 6.2-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-nano-tiny-6.2-1ubuntu0.2.md) | Jun 24, 2026 |
| Linux | nano-tiny Ubuntu 24.04.5 LTS (noble) | 7.2-2ubuntu0.2 | [nano-tiny 7.2-2ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-nano-tiny-7.2-2ubuntu0.2.md) | Jun 24, 2026 |
| Linux | nano-tiny Ubuntu 25.10 (questing) | 8.4-1ubuntu0.1 | [nano-tiny 8.4-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-nano-tiny-8.4-1ubuntu0.1.md) | Jun 24, 2026 |
| Linux | nano-tiny Ubuntu 26.04.1 LTS (resolute) | 8.7.1-1ubuntu0.1 | [nano-tiny 8.7.1-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-nano-tiny-8.7.1-1ubuntu0.1.md) | Jul 22, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
