Use of Externally-Controlled Format String Affecting nano package, versions [,9.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Use of Externally-Controlled Format String vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NANO-16304793
  • published27 Apr 2026
  • disclosed13 Apr 2026
  • creditMichał Majchrowicz, Marcin Wyczechowski

Introduced: 13 Apr 2026

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

How to fix?

Upgrade nano to version 9.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Format String via the statusline function. An attacker can cause the application to crash by creating a directory with a name containing format string specifiers and triggering the display of an error message referencing this directory.

CVSS Base Scores

version 4.0
version 3.1