Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Create malicious directory with format specifiers
  2. Delivery
    Place in location accessible to target user
  3. Exploit
    Target opens nano file browser
  4. Execution
    Nano displays directory name in status line
  5. Persist
    Format string parser reads memory
  6. Impact
    Segmentation fault crashes nano

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 a local attacker to create a directory with a name containing printf format specifiers in a location where the target user will browse using nano's file browser or where nano will display the directory name in the status line. The attacker must have write access to a directory that the target user will access (e.g., /tmp, /home shared directories, or project folders). The vulnerability is triggered when the target user opens nano and the directory name is displayed-typically through nano's file browser or when nano shows the current working directory in the status line. This is not remotely exploitable and requires the target user to interact with nano, limiting it to scenarios where both local access and user action are feasible.

Impact

CVSS 5.5 with AV:L (local only), AC:L (low complexity), PR:N (no privileges), UI:R (requires user interaction), and impact limited to availability (A:H) indicates moderate real-world risk. The requirement for user interaction-the victim must open a directory with a crafted name in nano-significantly lowers practical exploitability compared to the raw CVSS score. However, the attack surface is potentially broad: any local user can create directories with malicious names in shared directories (e.g., /tmp), and when another user browses to that location in nano, they trigger the crash. This makes it viable for low-privilege users to disrupt workflows for other users. The absence of KEV status, POC confirmation, or EPSS data suggests this is not currently being exploited at scale, but the simplicity of the attack vector (creating a directory) means exploitation is trivial once the vulnerability is known. The local-only attack vector prevents this from being a critical remote issue, but defenders should prioritize patching on multi-user systems or shared development environments.

Exploit ScenarioDerived

A local user creates a directory named something like 'test_%x_%x_%x' in /tmp. When another user opens nano and browses the file system or uses the file browser feature, nano attempts to display the directory name in the status line. The format string parser interprets '%x' as read instructions, causing a segmentation fault and crashing nano for the victim user.

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

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

Alert me

AnalysisAIv1 – Apr 22, 2026

Format string vulnerability in nano's statusline() function allows local users to trigger a segmentation fault via directory names containing printf specifiers, causing denial of service. Exploitation requires user interaction (opening a directory with the crafted name) on systems where nano is available to local users. No public exploit code identified at time of analysis.

RemediationAI

Apply the security patch released by Red Hat. Users should update nano to the patched version available from their Red Hat Enterprise Linux repository using standard package management tools (e.g., 'yum update nano' on RHEL 6/7/8/9/10 or 'dnf update nano' on RHEL 8+). For systems unable to patch immediately, restrict file browser access in nano or avoid opening directories in untrusted locations (e.g., shared /tmp directories where unprivileged users can create files). However, this workaround is impractical for many workflows and should not be considered a long-term solution. Red Hat's advisory is available at https://access.redhat.com/security/cve/CVE-2026-6843 and the associated Bugzilla report at https://bugzilla.redhat.com/show_bug.cgi?id=2460017.

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

The vulnerability exists in nano's statusline() function, which handles the display of file and directory information in the editor's status line. The root cause is a CWE-134 (Use of Externally-Controlled Format String) flaw where user-controlled input-specifically a directory name-is passed directly to a format string context without sanitization. When a directory name contains printf format specifiers (such as %x, %n, or %s), the function interprets these as format directives rather than literal characters. This causes the format string parser to read from or write to unintended memory locations, leading to a crash. The vulnerability affects nano across multiple Red Hat Enterprise Linux versions (6, 7, 8, 9, and 10) and Red Hat OpenShift Container Platform 4.

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 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in nano. A local user could exploit a format string vulnerability in the statusline() function. By creating a directory with a name containing printf specifiers, the application attempts to display this name, leading to a segmentation fault (SEGV). This results in a Denial of Service (DoS) for the nano application.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL 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.0%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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: Medium

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