{"id":"UBUNTU-CVE-2026-40556","details":"(GNU nano creates the user\\u2019s ~/.local directory with overly permis ...)","modified":"2026-05-14T14:42:59.233826Z","published":"2026-04-29T00:00:00Z","withdrawn":"2026-05-14T11:40:57Z","upstream":["CVE-2026-40556"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40556"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-40556"}],"affected":[{"package":{"name":"nano","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/nano@2.2.6-1ubuntu1+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.6-1ubuntu1","2.2.6-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"nano","binary_version":"2.2.6-1ubuntu1+esm1"},{"binary_name":"nano-tiny","binary_version":"2.2.6-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/nano@2.5.3-2ubuntu2+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.2-1","2.4.2-1ubuntu1","2.4.3-1","2.5.0-1","2.5.1-1","2.5.2-1","2.5.3-2","2.5.3-2ubuntu1","2.5.3-2ubuntu2","2.5.3-2ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"nano","binary_version":"2.5.3-2ubuntu2+esm1"},{"binary_version":"2.5.3-2ubuntu2+esm1","binary_name":"nano-tiny"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/nano@2.9.3-2ubuntu0.1~esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.6-3","2.8.7-1","2.9.0-1","2.9.1-1","2.9.2-1","2.9.3-1","2.9.3-2","2.9.3-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"nano","binary_version":"2.9.3-2ubuntu0.1~esm1"},{"binary_name":"nano-tiny","binary_version":"2.9.3-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nano@4.8-1ubuntu1.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3-1","4.5-1","4.7-1","4.7-2","4.8-1","4.8-1ubuntu1","4.8-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"nano","binary_version":"4.8-1ubuntu1.1"},{"binary_name":"nano-tiny","binary_version":"4.8-1ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nano@6.2-1ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-1build1","5.9-1","6.0-1","6.1-1","6.2-1","6.2-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"nano","binary_version":"6.2-1ubuntu0.1"},{"binary_name":"nano-tiny","binary_version":"6.2-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nano@7.2-2ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2-1","7.2-2","7.2-2build1","7.2-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"nano","binary_version":"7.2-2ubuntu0.1"},{"binary_name":"nano-tiny","binary_version":"7.2-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/nano@8.4-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.3-1","8.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.4-1","binary_name":"nano"},{"binary_name":"nano-tiny","binary_version":"8.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:26.04","purl":"pkg:deb/ubuntu/nano@8.7.1-1?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4-1","8.6-1","8.7-1","8.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nano","binary_version":"8.7.1-1"},{"binary_name":"nano-tiny","binary_version":"8.7.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40556.json"}}],"schema_version":"1.7.5","severity":[{"type":"Ubuntu","score":"medium"}]}