Skip to content

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

MediumCVSS 5.5 EPSS 0.11%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

20 packages: 6 fixed, 12 with no fix yet.

PackageAffectedFixed inStatus
cbl-mariner nano(CBL-Mariner 2.0) All versions No fix listed No fix yet
debian/nano(Debian 12) = 7.2-1; = 7.2-1+deb12u1; = 7.2-2; = 8.0-1 +13 more No fix listed No fix yet
redhat enterprise linux = 6.0; = 7.0; = 8.0; = 9.0 +2 more No fix listed No fix yet
redhat openshift All versions No fix listed No fix yet
redhat rhel els All versions No fix listed No fix yet
redhat/nano(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/nano(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/nano(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/nano(Red Hat rhel_els 6) All versions No fix listed No fix yet
redhat/nano(Red Hat rhel_els 7) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) All versions No fix listed No fix yet
azure linux nano(Azure Linux 3.0) < 6.4-3 6.4-3 Fixed
debian/nano(Debian 13) < 8.4-1+deb13u1; = 8.4-1 8.4-1+deb13u1 Fixed
debian/nano(Debian 14) < 9.0-1; = 8.4-1; = 8.5-1; = 8.6-1 +2 more 9.0-1 Fixed
ubuntu/nano(Ubuntu 22.04) < 6.2-1ubuntu0.2 6.2-1ubuntu0.2 Fixed
ubuntu/nano(Ubuntu 24.04) < 7.2-2ubuntu0.2 7.2-2ubuntu0.2 Fixed
ubuntu/nano(Ubuntu 26.04) < 8.7.1-1ubuntu0.1 8.7.1-1ubuntu0.1 Fixed
GNU nano = 8.7 No fix listed Versions listed
redhat openshift container platform = 4.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cbl-mariner nano(CBL-Mariner:2.0) All versions No fix listed
azure linux nano(Azure Linux:3.0) < 6.4-3 6.4-3
redhat enterprise linux All versions No fix listed
redhat rhel els All versions No fix listed
redhat openshift All versions No fix listed
redhat/nano(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/nano(Red Hat:rhel_els:6) All versions No fix listed
redhat/nano(Red Hat:rhel_els:7) All versions No fix listed
redhat/nano(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/nano(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) All versions No fix listed
debian/nano(Debian:12) All versions No fix listed
debian/nano(Debian:12) = 7.2-1 No fix listed
debian/nano(Debian:12) = 7.2-1+deb12u1 No fix listed
debian/nano(Debian:12) = 7.2-2 No fix listed
debian/nano(Debian:12) = 8.0-1 No fix listed
debian/nano(Debian:12) = 8.1-1 No fix listed
debian/nano(Debian:12) = 8.2-1 No fix listed
debian/nano(Debian:12) = 8.3-1 No fix listed
debian/nano(Debian:12) = 8.4-1 No fix listed
debian/nano(Debian:12) = 8.5-1 No fix listed
debian/nano(Debian:12) = 8.6-1 No fix listed
debian/nano(Debian:12) = 8.7-1 No fix listed
debian/nano(Debian:12) = 8.7.1-1 No fix listed
Show 22 more
ProductAffected versionsFixed in
debian/nano(Debian:12) = 9.0-1 No fix listed
debian/nano(Debian:12) = 9.1-1 No fix listed
debian/nano(Debian:12) = 9.2-1 No fix listed
debian/nano(Debian:12) = 9.3-1 No fix listed
debian/nano(Debian:13) < 8.4-1+deb13u1 8.4-1+deb13u1
debian/nano(Debian:13) = 8.4-1 No fix listed
debian/nano(Debian:14) < 9.0-1 9.0-1
debian/nano(Debian:14) = 8.4-1 No fix listed
debian/nano(Debian:14) = 8.5-1 No fix listed
debian/nano(Debian:14) = 8.6-1 No fix listed
debian/nano(Debian:14) = 8.7-1 No fix listed
debian/nano(Debian:14) = 8.7.1-1 No fix listed
ubuntu/nano(Ubuntu:22.04) < 6.2-1ubuntu0.2 6.2-1ubuntu0.2
ubuntu/nano(Ubuntu:24.04) < 7.2-2ubuntu0.2 7.2-2ubuntu0.2
ubuntu/nano(Ubuntu:26.04) < 8.7.1-1ubuntu0.1 8.7.1-1ubuntu0.1
GNU nano = 8.7 No fix listed
redhat openshift container platform = 4.0 No fix listed
redhat enterprise linux = 6.0 No fix listed
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed
redhat enterprise linux = 10.0 No fix listed

References