Home

Description

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.

PUBLISHED Reserved 2026-04-22 | Published 2026-04-22 | Updated 2026-04-22 | Assigner redhat




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

Problem types

Use of Externally-Controlled Format String

Product status

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Timeline

2026-04-13:Reported to Red Hat.
2026-04-13:Made public.

Credits

Red Hat would like to thank Michał Majchrowicz, Marcin Wyczechowski (AFINE Team) for reporting this issue.

References

access.redhat.com/security/cve/CVE-2026-6843 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2460017 (RHBZ#2460017) issue-tracking

cve.org (CVE-2026-6843)

nvd.nist.gov (CVE-2026-6843)

Download JSON