UBUNTU-CVE-2026-6843

Source
https://ubuntu.com/security/CVE-2026-6843
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6843.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-6843
Upstream
  • CVE-2026-6843
Downstream
Related
Published
2026-04-22T09:16:00Z
Modified
2026-06-05T03:03:01.436910387Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS / nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.2-1ubuntu0.2

Affected versions

5.*
5.6.1-1build1
5.9-1
6.*
6.0-1
6.1-1
6.2-1
6.2-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.2-1ubuntu0.2",
            "binary_name": "nano"
        },
        {
            "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"

Ubuntu:24.04:LTS / nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.2-2ubuntu0.2

Affected versions

7.*
7.2-1
7.2-2
7.2-2build1
7.2-2ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "7.2-2ubuntu0.2",
            "binary_name": "nano"
        },
        {
            "binary_version": "7.2-2ubuntu0.2",
            "binary_name": "nano-tiny"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6843.json"

Ubuntu:25.10 / nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.4-1ubuntu0.1

Affected versions

8.*
8.3-1
8.4-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "8.4-1ubuntu0.1",
            "binary_name": "nano"
        },
        {
            "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"

Ubuntu:26.04:LTS / nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.7.1-1ubuntu0.1

Affected versions

8.*
8.4-1
8.6-1
8.7-1
8.7.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.7.1-1ubuntu0.1",
            "binary_name": "nano"
        },
        {
            "binary_version": "8.7.1-1ubuntu0.1",
            "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"