CVE-2026-6390
Medium 6.8No known exploitationFix status unknownNano: gnu nano: arbitrary memory writes, information disclosure, or denial of service via format string vulnerability in error handling.
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-134
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- Users should avoid opening untrusted files with GNU nano, especially those with filenames containing printf format specifiers (e.g., %s, %p, %n). This operational control helps prevent the exploitation of the format string vulnerability, which relies on specific filename content and error conditions during multi-buffer usage.
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 6 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 5 | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://access.redhat.com/security/cve/CVE-2026-6390 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2458767 (opens in a new tab)issue-tracking, x_refsource_redhat