CVE-2026-6843

NameCVE-2026-6843
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nano (PTS)bullseye5.4-2+deb11u3vulnerable
bookworm7.2-1+deb12u1vulnerable
trixie8.4-1vulnerable
forky8.7.1-1vulnerable
sid9.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nanosource(unstable)(unfixed)

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2460017
https://bugzilla.redhat.com/show_bug.cgi?id=2455127
check reported upstream?

Search for package or bug name: Reporting problems