Gnu Nano vulnerabilities
🔔 Create alert RSS Version checker
Published CVEs affecting Gnu Nano: 2 record(s), with affected versions and fixes.cpe:2.3:a:gnu:nano
CVE-2026-6843
Medium · 5.5
CWE-134 Apr 22, 2026
Nano: nano: format string vulnerability leads to denial of service
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.
CVE-2024-5742
Medium · 6.7
CWE-59 Jun 12, 2024
Nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file
A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a window of opportunity for attackers to escalate privileges through a malicious symlink.