CVE-2026-6843 MEDIUM

CVE-2026-6843: Nano: nano: format string vulnerability leads to denial of service

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Weakness CWE-134
Published April 22, 2026
Last update April 22, 2026

CVSS base score

5.5/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 22, 2026 CVE published
April 22, 2026 Record updated