Bug 2458767 (CVE-2026-6390) - CVE-2026-6390 nano: GNU nano: Arbitrary memory writes, information disclosure, or denial of service via format string vulnerability in error handling.
Summary: CVE-2026-6390 nano: GNU nano: Arbitrary memory writes, information disclosure...
Keywords:
Status: NEW
Alias: CVE-2026-6390
Deadline: 2026-07-28
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-15 19:43 UTC by OSIDB Bzimport
Modified: 2026-08-31 13:31 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-15 19:43:11 UTC
A flaw was found in GNU nano's multi-buffer error message handling. When a user opens multiple files at startup and one triggers an ALERT-level error, a specially crafted filename containing printf format specifiers can be reinterpreted. This format string vulnerability may allow an attacker to achieve stack information disclosure, cause a denial of service (crash), or potentially perform arbitrary memory writes.

Comment 2 Benno Schulenberg 2026-08-02 10:27:09 UTC
As far as I can tell, this was fixed in nano-9.0, commit 0b7328bce452bf1b0bbff81276425d4809a9b6fd: "prevent interpretation of %s and similar in a filename", after a report from Jonathan Echavarria.


Note You need to log in before you can comment on or make changes to this bug.