CVE-2026-6843

Publication date 22 April 2026

Last updated 6 June 2026


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
nano 26.04 LTS resolute
Fixed 8.7.1-1ubuntu0.1
25.10 questing
Fixed 8.4-1ubuntu0.1
24.04 LTS noble
Fixed 7.2-2ubuntu0.2
22.04 LTS jammy
Fixed 6.2-1ubuntu0.2
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
nano

Severity score breakdown

Parameter Value
Base score 5.5 · Medium
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Access our resources on patching vulnerabilities