Skip to main content

GNU nano CVE-2026-6390

| EUVDEUVD-2026-47874 MEDIUM
Use of Externally-Controlled Format String (CWE-134)
2026-07-23 redhat GHSA-cgrj-mh7v-v4c8
6.8
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
6.8 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
vuln.today AI
6.8 MEDIUM

Local-only attack via crafted filename requires low-privilege account and active user interaction; high I/A from potential %n memory writes and crash; low C from stack read disclosure only.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Generated
Jul 23, 2026 - 05:16 vuln.today
CVE Published
Jul 23, 2026 - 03:55 cve.org
MEDIUM 6.8

DescriptionCVE.org

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.

AnalysisAI

Format string vulnerability in GNU nano's multi-buffer error message handling allows a local low-privileged attacker to cause stack information disclosure, denial of service via crash, or potentially achieve arbitrary memory writes. The flaw (CWE-134) is triggered when a user opens multiple files at startup, one of which carries a specially crafted name containing printf format specifiers and another triggers an ALERT-level error - causing nano to misinterpret the filename as a format string. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Attain local low-privilege access
Delivery
Create file with printf format specifier filename
Exploit
Place alongside error-triggering file
Execution
Induce victim to open both files in nano
Persist
ALERT error renders filename as format string
Impact
Leak stack data or write arbitrary memory

Vulnerability AssessmentAI

Exploitation Exploitation requires all of the following conditions to be simultaneously true: (1) the victim user invokes GNU nano in multi-buffer mode with multiple files at startup (e.g., `nano fileA fileB`); (2) at least one of those files triggers an ALERT-level error during nano's startup sequence - for example, a file with permissions that prevent opening or a filename that causes an internal error condition; (3) at least one filename among the opened files contains printf format specifiers (e.g., %n, %x, %s) placed by the attacker. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 6.8 Medium score accurately reflects a constrained but meaningful attack surface. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker with a low-privilege local account creates a file named with embedded format specifiers (for example, a filename such as '%n%x%s%n') and places it in a directory accessible to a target user. The attacker then arranges - through social engineering, a shared project directory, or a script - for the target to open nano simultaneously with this crafted file and a second file that triggers an ALERT-level error (such as a file with permissions that cause an access error). …
Remediation Monitor https://access.redhat.com/security/cve/CVE-2026-6390 for the Red Hat Security Advisory (RHSA) containing the patched nano package for your RHEL version; no exact patched package version is confirmed in available data at time of analysis. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-28369 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel

CVE-2026-28368 CRITICAL
9.1 Mar 27

HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls

CVE-2026-33845 CRITICAL
9.1 Apr 30

Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege

CVE-2026-28367 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow allows remote unauthenticated attackers to send `\r\r\r` as a header block terminator

CVE-2026-16526 HIGH
8.8 Jul 30

Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe

CVE-2026-11610 HIGH
8.8 Jul 07

Denial of service in Red Hat / 389 Directory Server (389-ds-base, versions since ~1.3.2/2013) allows an authenticated LD

CVE-2026-14474 HIGH
8.8 Jul 07

Local-to-domain-wide root privilege escalation in SSSD's LDAP sudo provider allows an authenticated LDAP directory user

CVE-2026-52720 HIGH
8.8 Jun 15

Heap buffer overflow in GStreamer's librfb (RFB/VNC client) allows a malicious VNC server to corrupt heap memory on a co

CVE-2026-59851 HIGH
8.8 Jul 21

Privilege escalation via authentication bypass in libssh affects servers that enable GSSAPIKeyExchange, where the gssapi

Share

CVE-2026-6390 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy