Use of Externally-Controlled Format String Affecting nano package, versions <8.4-1ubuntu0.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-NANO-16153556
  • published4 Jun 2026
  • disclosed22 Apr 2026

Introduced: 22 Apr 2026

CVE-2026-6843  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 nano to version 8.4-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nano package and not the nano package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1