{"id":"UBUNTU-CVE-2026-6843","details":"A flaw was found in nano. A local user could exploit a format string vulnerability in the `statusline()` function. By creating a directory with a name containing `printf` specifiers, the application attempts to display this name, leading to a segmentation fault (SEGV). This results in a Denial of Service (DoS) for the `nano` application.","modified":"2026-09-21T21:40:38.068584578Z","published":"2026-04-22T09:16:00Z","related":["USN-8386-1"],"upstream":["CVE-2026-6843"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-6843"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-6843"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8386-1"}],"affected":[{"package":{"name":"nano","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nano?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2-1ubuntu0.2"}]}],"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.2"},{"binary_version":"6.2-1ubuntu0.2","binary_name":"nano-tiny"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6843.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nano?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2-2ubuntu0.2"}]}],"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.2"},{"binary_name":"nano-tiny","binary_version":"7.2-2ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6843.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/nano?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4-1ubuntu0.1"}]}],"versions":["8.3-1","8.4-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"nano","binary_version":"8.4-1ubuntu0.1"},{"binary_version":"8.4-1ubuntu0.1","binary_name":"nano-tiny"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6843.json"}},{"package":{"name":"nano","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nano?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.7.1-1ubuntu0.1"}]}],"versions":["8.4-1","8.6-1","8.7-1","8.7.1-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"nano","binary_version":"8.7.1-1ubuntu0.1"},{"binary_name":"nano-tiny","binary_version":"8.7.1-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6843.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}