Format String Vulnerability in GNU Nano Multi-Buffer Handling
CVE-2026-6390
6.8MEDIUM
What is CVE-2026-6390?
A critical flaw exists in the way GNU Nano handles multi-buffer error messages. When users open multiple files at startup, if one file triggers an ALERT-level error, the filename can be crafted to include printf format specifiers. This mismanagement leads to a format string vulnerability that may enable attackers to disclose stack information, potentially induce a denial of service by causing crashes, or even perform arbitrary memory writes, creating a significant risk for users.