
CVE catalog
CVE-2026-6843
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 a
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.11% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nano | sid | 9.3-1 | fixed |
| Debian | nano | forky | 9.2-1 | fixed |
| Debian | nano | trixie | 8.4-1+deb13u1 | fixed |
| Debian | nano | bookworm | 7.2-1+deb12u1 | vulnerable |
| Cpe | nano | Not reported | 7.2-2ubuntu0.2 | fixed |
| Cpe | nano-tiny | Not reported | 7.2-2ubuntu0.2 | fixed |
| Cpe | nano | Not reported | Not reported | vulnerable |
| Cpe | nano | Not reported | Not reported | unknown |
| Cpe | openshift_container_platform | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Cpe | nano | Not reported | Not reported | unknown |
| Cpe | openshift_container_platform | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Ubuntu | nano | 22.04 | 5.6.1-1build1 | vulnerable |
| Ubuntu | nano | 22.04 | 5.9-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.0-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.1-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1ubuntu0.1 | vulnerable |
| Ubuntu | nano | 22.04 | 6.2-1ubuntu0.2 | fixed |
| Ubuntu | nano | 24.04 | 7.2-1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2build1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | nano | 24.04 | 7.2-2ubuntu0.2 | fixed |
| Ubuntu | nano | 25.10 | 8.3-1 | vulnerable |
| Ubuntu | nano | 25.10 | 8.4-1 | vulnerable |
| Ubuntu | nano | 25.10 | 8.4-1ubuntu0.1 | fixed |
| Ubuntu | nano | 26.04 | 8.4-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.6-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7.1-1 | vulnerable |
| Ubuntu | nano | 26.04 | 8.7.1-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nano | source | sid | 9.0-1 | not yet assigned | Not reported | Not reported |
| Debian | nano | source | forky | 9.0-1 | not yet assigned | Not reported | Not reported |
| Debian | nano | source | trixie | 8.4-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | nano | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | nano | cpe | Not reported | 7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Cpe | nano-tiny | cpe | Not reported | 7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | nano | deb | 22.04 | 6.2-1ubuntu0.2 | Not reported | UBUNTU-CVE-2026-6843 | Not reported |
| Ubuntu | nano | deb | 24.04 | 7.2-2ubuntu0.2 | Not reported | UBUNTU-CVE-2026-6843 | Not reported |
| Ubuntu | nano | deb | 25.10 | 8.4-1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-6843 | Not reported |
| Ubuntu | nano | deb | 26.04 | 8.7.1-1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-6843 | Not reported |
Notes
[bookworm] nano: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [nano]Affected
Details (2)
7.2-1+deb12u1· amd64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
7.2-1+deb12u1· arm64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
- [nano-tiny]Affected
Source package: [nano]
Details (2)
7.2-1+deb12u1· amd64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
7.2-1+deb12u1· arm64 · bookwormAffected
nvd · nano · debian · bookworm; nvd · nano · debian · 12
[Debian 13 (Trixie)]
- [nano]Fixed
Details (2)
8.4-1+deb13u1· amd64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
8.4-1+deb13u1· arm64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
- [nano-tiny]Fixed
Source package: [nano]
Details (2)
8.4-1+deb13u1· amd64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
8.4-1+deb13u1· arm64 · trixieFixed · Fixed:
8.4-1+deb13u1nvd · nano · debian · 13
Observed:
References
- [https://access.redhat.com/security/cve/CVE-2026-6843]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2460017]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21166-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-6843]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-6843]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-6843]
- [https://security-tracker.debian.org/tracker/CVE-2026-6843]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6843.json]
- [https://ubuntu.com/security/notices/USN-8386-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]