Advisory

UBUNTU-CVE-2026-6843

Also known as: CVE-2026-6843

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2026-04-22 09:16 UTC
Modified
2026-09-21 21:40 UTC

Affected packages and fixes

nano

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 6.2-1ubuntu0.2 (ecosystem)

Fixed versions

6.2-1ubuntu0.2

Fix

  • Fixed version 6.2-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nano

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 7.2-2ubuntu0.2 (ecosystem)

Fixed versions

7.2-2ubuntu0.2

Fix

  • Fixed version 7.2-2ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nano

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 8.4-1ubuntu0.1 (ecosystem)

Fixed versions

8.4-1ubuntu0.1

Fix

  • Fixed version 8.4-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nano

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 8.7.1-1ubuntu0.1 (ecosystem)

Fixed versions

8.7.1-1ubuntu0.1

Fix

  • Fixed version 8.7.1-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences