Gnu Nano vulnerabilities

4 vulnerabilities

Known vulnerabilities in Gnu Nano, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-6843redhat · enterprise_linux +4 moreNano: nano: format string vulnerability leads to denial of serviceA 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.CVSS5.5MediumEPSS0.15%RoutineCVE-2024-5742redhat · enterprise_linux +12 moreNano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned fileA 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.CVSS6.7MediumEPSS0.35%RoutineCVE-2010-1161gnu · nano +1 moregnu nanoRace condition in GNU nano before 2.2.4, when run by root to edit a file that is not owned by root, allows local user-assisted attackers to change the ownership of arbitrary files via vectors related to the creation of backup files.CVSS3.7LowEPSS0.28%RoutineCVE-2010-1160gnu · nano +1 moregnu nanoGNU nano before 2.2.4 does not verify whether a file has been changed before it is overwritten in a file-save operation, which allows local user-assisted attackers to overwrite arbitrary files via a symlink attack on an attacker-owned file that is being edited by the victim.CVSS1.9LowEPSS0.37%