Skip to content
OpenAdvisories
Medium USN-8386-1 2 CVEs

nano vulnerabilities

Published Jun 4, 2026 · Updated Jun 5, 2026

Summary

Michał Majchrowicz and Marcin Wyczechowski discovered that Nano created
the ~/.local directory with incorrect permissions. In environments with
permissive umask settings, a local attacker could possibly use this
issue to inject a malicious launcher file, resulting in information
disclosure or other unintended actions. (CVE-2026-6842)

Michał Majchrowicz and Marcin Wyczechowski discovered that Nano
incorrectly handled directory names when updating the status line. A
local attacker could possibly use this issue to cause Nano to crash,
resulting in a denial of service. This issue only affected Ubuntu 22.04
LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, and Ubuntu 26.04 LTS.
(CVE-2026-6843)

Fixed packages 6

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS nano 6.2-1ubuntu0.2
Ubuntu · 24.04 LTS 24.04:LTS nano 7.2-2ubuntu0.2
Ubuntu · 25.10 nano 8.4-1ubuntu0.1
Ubuntu · 26.04 LTS 26.04:LTS nano 8.7.1-1ubuntu0.1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS nano 2.9.3-2ubuntu0.1~esm2
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS nano 4.8-1ubuntu1.1+esm1

Vulnerabilities 2

References

  • report
    https://ubuntu.com/security/CVE-2026-6842
  • report
    https://ubuntu.com/security/CVE-2026-6843