Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttain local low-privilege access
-
DeliveryCreate file with printf format specifier filename
-
ExploitPlace alongside error-triggering file
-
ExecutionInduce victim to open both files in nano
-
PersistALERT error renders filename as format string
-
ImpactLeak stack data or write arbitrary memory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Format string safety
|
| Exploitation Conditions | 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., |
| Impact | The CVSS 6.8 Medium score accurately reflects a constrained but meaningful attack surface. AV:L restricts exploitation to actors with existing local foothold or the ability to influence filenames on the target system; PR:L confirms at least a low-privilege account is required; UI:R introduces a social engineering dependency - the victim must actively open nano with the crafted file set. The High integrity and availability impacts (I:H, A:H) are realistic: %n-based format string exploitation can yield arbitrary memory writes (integrity) and crashes (availability), while %x/%s leaks can reveal stack addresses (C:L). No EPSS score was provided in the input data, and no CISA KEV listing exists, indicating this vulnerability is not currently observed in active exploitation. No public POC has been identified. Taken together, this is a real but non-urgent finding: impactful if exploited, but the local-only vector and UI:R gate significantly reduce the realistic threat population compared to remote, unauthenticated flaws. Defenders should prioritize patching in environments where untrusted local users or automated scripting pipelines invoke nano with user-controlled filenames. |
| Exploit ScenarioDerived | 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). When nano processes the error message and renders the malicious filename unsanitized, format string processing corrupts stack memory, potentially leaking addresses or writing to attacker-influenced memory locations. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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. Reported by Red Hat and scoped to RHEL 6 through 10 and OpenShift Container Platform 4, no public exploit or CISA KEV listing exists at time of analysis.
RemediationAI
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. Apply the RHSA update via dnf update nano (RHEL 8/9/10) or yum update nano (RHEL 6/7) once published. For OpenShift Container Platform 4, follow the associated RHSA to update node base images or operator components that include nano. As an interim compensating control, restrict scripts or automation that invoke nano with user-controlled or externally-sourced filenames - wrap nano invocations to validate filenames do not contain percent signs before passing them. Educating users not to open nano with multiple files where any filename originates from an untrusted source reduces the UI:R dependency that exploitation relies upon. There is no confirmed workaround that fully mitigates the vulnerability without patching.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GNU nano is a widely-used terminal text editor shipped as a default component across major Linux distributions including Red Hat Enterprise Linux. The affected subsystem is nano's multi-buffer mode, which handles multiple files opened simultaneously at startup. CWE-134 (Use of Externally-Controlled Format String) arises when user-supplied data - here, a filename - is passed directly to a printf-family function as the format argument rather than a positional argument. Format specifiers such as %s, %x, or the especially dangerous %n (which writes the count of bytes written to a pointer on the stack) embedded in a crafted filename can cause arbitrary reads from or writes to stack memory when the ALERT-level error message renders the filename unsanitized. The CVSS vector AV:L/AC:L/PR:L/UI:R/S:U confirms the attack is local, low complexity once conditions are met, requires minimal privilege, and necessitates user interaction. CPE data identifies affected products as cpe:2.3:a:red_hat:red_hat_enterprise_linux_6 through _10 and cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4, covering the nano packages distributed with those platforms.
Know when Red Hat Enterprise Linux 10 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
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.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
More in Red Hat Enterprise Linux 10
View allHeap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash
Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h
Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft
Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to
The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe
Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo
Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter
Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a
A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes
Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe
Same weakness CWE-134 – Use of Externally-Controlled Format String
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Package Hub 15 SP7 | Fixed |
| SUSE Package Hub 15 SP7 | Affected |
EUVD-2026-47874
GHSA-cgrj-mh7v-v4c8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB