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

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannanosid9.3-1fixed
Debiannanoforky9.2-1fixed
Debiannanotrixie8.4-1+deb13u1fixed
Debiannanobookworm7.2-1+deb12u1vulnerable
CpenanoNot reported7.2-2ubuntu0.2fixed
Cpenano-tinyNot reported7.2-2ubuntu0.2fixed
CpenanoNot reportedNot reportedvulnerable
CpenanoNot reportedNot reportedunknown
Cpeopenshift_container_platformNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
CpenanoNot reportedNot reportedunknown
Cpeopenshift_container_platformNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
Ubuntunano22.045.6.1-1build1vulnerable
Ubuntunano22.045.9-1vulnerable
Ubuntunano22.046.0-1vulnerable
Ubuntunano22.046.1-1vulnerable
Ubuntunano22.046.2-1vulnerable
Ubuntunano22.046.2-1ubuntu0.1vulnerable
Ubuntunano22.046.2-1ubuntu0.2fixed
Ubuntunano24.047.2-1vulnerable
Ubuntunano24.047.2-2vulnerable
Ubuntunano24.047.2-2build1vulnerable
Ubuntunano24.047.2-2ubuntu0.1vulnerable
Ubuntunano24.047.2-2ubuntu0.2fixed
Ubuntunano25.108.3-1vulnerable
Ubuntunano25.108.4-1vulnerable
Ubuntunano25.108.4-1ubuntu0.1fixed
Ubuntunano26.048.4-1vulnerable
Ubuntunano26.048.6-1vulnerable
Ubuntunano26.048.7-1vulnerable
Ubuntunano26.048.7.1-1vulnerable
Ubuntunano26.048.7.1-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannanosourcesid9.0-1not yet assignedNot reportedNot reported
Debiannanosourceforky9.0-1not yet assignedNot reportedNot reported
Debiannanosourcetrixie8.4-1+deb13u1not yet assignedNot reportedNot reported
Debiannanosourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpenanocpeNot reported7.2-2ubuntu0.2Not reportedNot reportedNot reported
Cpenano-tinycpeNot reported7.2-2ubuntu0.2Not reportedNot reportedNot reported
Ubuntunanodeb22.046.2-1ubuntu0.2Not reportedUBUNTU-CVE-2026-6843Not reported
Ubuntunanodeb24.047.2-2ubuntu0.2Not reportedUBUNTU-CVE-2026-6843Not reported
Ubuntunanodeb25.108.4-1ubuntu0.1Not reportedUBUNTU-CVE-2026-6843Not reported
Ubuntunanodeb26.048.7.1-1ubuntu0.1Not reportedUBUNTU-CVE-2026-6843Not reported

Notes

[bookworm] nano: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [nano]Affected
    Details (2)
    • 7.2-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · nano · debian · bookworm; nvd · nano · debian · 12

    • 7.2-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · nano · debian · bookworm; nvd · nano · debian · 12

  • [nano-tiny]Affected

    Source package: [nano]

    Details (2)
    • 7.2-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · nano · debian · bookworm; nvd · nano · debian · 12

    • 7.2-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · nano · debian · bookworm; nvd · nano · debian · 12

[Debian 13 (Trixie)]

  • [nano]Fixed
    Details (2)
    • 8.4-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 8.4-1+deb13u1

      nvd · nano · debian · 13

    • 8.4-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 8.4-1+deb13u1

      nvd · nano · debian · 13

  • [nano-tiny]Fixed

    Source package: [nano]

    Details (2)
    • 8.4-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 8.4-1+deb13u1

      nvd · nano · debian · 13

    • 8.4-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 8.4-1+deb13u1

      nvd · nano · debian · 13

Observed:

References