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

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Se encontró una falla en nano. Un usuario local podría explotar una vulnerabilidad de formato de cadena en la función ’statusline()’. Al crear un directorio con un nombre que contenga especificadores de ’printf’, la aplicación intenta mostrar este nombre, lo que provoca una falla de segmentación (SEGV). Esto resulta en una denegación de servicio (DoS) para la aplicación ’nano’.

Information

Published : 2026-04-22 09:16

Updated : 2026-10-26 21: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