Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attain local low-privilege access
  2. Delivery
    Create file with printf format specifier filename
  3. Exploit
    Place alongside error-triggering file
  4. Execution
    Induce victim to open both files in nano
  5. Persist
    ALERT error renders filename as format string
  6. Impact
    Leak 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., 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. The CVSS vector confirms PR:L - a minimum low-privilege local account is required, ruling out unauthenticated remote attackers. UI:R means the victim must actively initiate the nano session with the crafted arguments; passive or background exploitation is not possible. AV:L strictly limits the attack to the local system. Exploitation is further bounded by the attacker's ability to control or predict which filenames the victim will open alongside a file that triggers ALERT-level errors - a non-trivial social engineering or filesystem-access prerequisite.

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

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
SUSE MEDIUM
Red Hat 6.8 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
nano ships by default across RHEL 6-10, a widely deployed enterprise Linux family
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

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-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

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-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Package Hub 15 SP7 Fixed
SUSE Package Hub 15 SP7 Affected

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