StackPatch is liveSee product

Back to CVE digest
CVE-2026-6842 · cross-distro fix matrix

CVE-2026-6842: Michał Majchrowicz and Marcin Wyczechowski discovered that Nano created

Affects 7 Linux releases across 13 (distro × package) combinations. First disclosed: 2026-06-04.

Fix per ecosystem

Each block below is a distro release where CVE-2026-6842 has a known fix. Run the listed command on that distro to remediate.

Ubuntu bionic

Source: Ubuntu USN

  • nano→ fixed in2.9.3-2ubuntu0.1~esm2USN-8386-1
    sudo apt-get install --only-upgrade -y nano
  • nano-tiny→ fixed in2.9.3-2ubuntu0.1~esm2USN-8386-1
    sudo apt-get install --only-upgrade -y nano-tiny

Ubuntu focal

Source: Ubuntu USN

  • nano→ fixed in4.8-1ubuntu1.1+esm1USN-8386-1
    sudo apt-get install --only-upgrade -y nano
  • nano-tiny→ fixed in4.8-1ubuntu1.1+esm1USN-8386-1
    sudo apt-get install --only-upgrade -y nano-tiny

Ubuntu jammy

Source: Ubuntu USN

  • nano→ fixed in6.2-1ubuntu0.2USN-8386-1
    sudo apt-get install --only-upgrade -y nano
  • nano-tiny→ fixed in6.2-1ubuntu0.2USN-8386-1
    sudo apt-get install --only-upgrade -y nano-tiny

Ubuntu noble

Source: Ubuntu USN

  • nano→ fixed in7.2-2ubuntu0.2USN-8386-1
    sudo apt-get install --only-upgrade -y nano
  • nano-tiny→ fixed in7.2-2ubuntu0.2USN-8386-1
    sudo apt-get install --only-upgrade -y nano-tiny

Ubuntu questing

Source: Ubuntu USN

  • nano→ fixed in8.4-1ubuntu0.1USN-8386-1
    sudo apt-get install --only-upgrade -y nano
  • nano-tiny→ fixed in8.4-1ubuntu0.1USN-8386-1
    sudo apt-get install --only-upgrade -y nano-tiny

Ubuntu resolute

Source: Ubuntu USN

  • nano→ fixed in8.7.1-1ubuntu0.1USN-8386-1
    sudo apt-get install --only-upgrade -y nano
  • nano-tiny→ fixed in8.7.1-1ubuntu0.1USN-8386-1
    sudo apt-get install --only-upgrade -y nano-tiny

Debian trixie

Source: Debian Security Tracker

  • nano→ fixed in8.4-1+deb13u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y nano
Are YOU affected by CVE-2026-6842?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-6842dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)