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)
{
"binaries": [
{
"binary_version": "6.2-1ubuntu0.2",
"binary_name": "nano"
},
{
"binary_version": "6.2-1ubuntu0.2",
"binary_name": "nano-tiny"
}
],
"availability": "No subscription required"
}"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8386-1.json"
{
"ecosystem": "Ubuntu:22.04:LTS",
"cves": [
{
"id": "CVE-2026-6842",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-6843",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
]
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "7.2-2ubuntu0.2",
"binary_name": "nano"
},
{
"binary_version": "7.2-2ubuntu0.2",
"binary_name": "nano-tiny"
}
]
}"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8386-1.json"
{
"ecosystem": "Ubuntu:24.04:LTS",
"cves": [
{
"id": "CVE-2026-6842",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-6843",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
]
}
{
"binaries": [
{
"binary_version": "8.4-1ubuntu0.1",
"binary_name": "nano"
},
{
"binary_version": "8.4-1ubuntu0.1",
"binary_name": "nano-tiny"
}
],
"availability": "No subscription required"
}"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8386-1.json"
{
"ecosystem": "Ubuntu:25.10",
"cves": [
{
"id": "CVE-2026-6842",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-6843",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
]
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "8.7.1-1ubuntu0.1",
"binary_name": "nano"
},
{
"binary_version": "8.7.1-1ubuntu0.1",
"binary_name": "nano-tiny"
}
]
}"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8386-1.json"
{
"ecosystem": "Ubuntu:26.04:LTS",
"cves": [
{
"id": "CVE-2026-6842",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-6843",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
]
}
{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_version": "2.9.3-2ubuntu0.1~esm2",
"binary_name": "nano"
},
{
"binary_version": "2.9.3-2ubuntu0.1~esm2",
"binary_name": "nano-tiny"
}
]
}"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8386-1.json"
{
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"cves": [
{
"id": "CVE-2026-6842",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
]
}
{
"binaries": [
{
"binary_version": "4.8-1ubuntu1.1+esm1",
"binary_name": "nano"
},
{
"binary_version": "4.8-1ubuntu1.1+esm1",
"binary_name": "nano-tiny"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8386-1.json"
{
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"cves": [
{
"id": "CVE-2026-6842",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
]
}