CVE-2026-6843

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.
References
Link Resource
https://access.redhat.com/security/cve/CVE-2026-6843 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2460017 Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gnu:nano:8.7:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

History

20 May 2026, 14:10

Type Values Removed Values Added
References () https://access.redhat.com/security/cve/CVE-2026-6843 - () https://access.redhat.com/security/cve/CVE-2026-6843 - Third Party Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2460017 - () https://bugzilla.redhat.com/show_bug.cgi?id=2460017 - Issue Tracking, Third Party Advisory
First Time Gnu
Redhat openshift Container Platform
Redhat enterprise Linux
Gnu nano
Redhat
CPE cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:a:gnu:nano:8.7:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*

22 Apr 2026, 09:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 09:16

Updated : 2026-05-20 14:10


NVD link : CVE-2026-6843

Mitre link : CVE-2026-6843

CVE.ORG link : CVE-2026-6843


JSON object : View

Products Affected

gnu

  • nano

redhat

  • openshift_container_platform
  • enterprise_linux
CWE
CWE-134

Use of Externally-Controlled Format String