Skip to main content

A flaw was found in GNU nano's multi-buffer error message handling. (CVE-2026-6390)

0
Medium
Published: 07/23/2026 (07/23/2026, 05:16:00 UTC)
Source: GCVE Database
Product: nano

Description

A format string vulnerability exists in GNU nano's multi-buffer error message handling when opening multiple files at startup. If one file triggers an ALERT-level error and has a filename with printf format specifiers, this can lead to stack information disclosure, denial of service, or potentially arbitrary memory writes. The vulnerability affects multiple specific versions of GNU nano. The CVSS score is 6.8, indicating a medium severity level.

CVSS v3.1

Score 6.8medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
nano
pkg:deb/ubuntu/nano?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=2.2.6-1ubuntu1=2.2.6-1ubuntu1+esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
nano
pkg:deb/ubuntu/nano?arch=source&distro=esm-infra/xenial
Affected 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
Ubuntu:Pro:18.04:LTSmore threats →ghsa
nano
pkg:deb/ubuntu/nano?arch=source&distro=esm-infra/bionic
Affected 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=2.9.3-2ubuntu0.1~esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
nano
pkg:deb/ubuntu/nano?arch=source&distro=esm-infra/focal
Affected versions
=4.3-1=4.5-1=4.7-1=4.7-2=4.8-1=4.8-1ubuntu1=4.8-1ubuntu1.1=4.8-1ubuntu1.1+esm1
Ubuntu:22.04:LTSmore threats →ghsa
nano
pkg:deb/ubuntu/nano?arch=source&distro=jammy
Affected versions
=5.6.1-1build1=5.9-1=6.0-1=6.1-1=6.2-1=6.2-1ubuntu0.1=6.2-1ubuntu0.2
Ubuntu:24.04:LTSmore threats →ghsa
nano
pkg:deb/ubuntu/nano?arch=source&distro=noble
Affected versions
=7.2-1=7.2-2=7.2-2build1=7.2-2ubuntu0.1=7.2-2ubuntu0.2
Ubuntu:26.04:LTSmore threats →ghsa
nano
pkg:deb/ubuntu/nano?arch=source&distro=resolute
Affected versions
=8.4-1=8.6-1=8.7-1=8.7.1-1=8.7.1-1ubuntu0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 22:33:27 UTC

Technical Analysis

CVE-2026-6390 describes a format string vulnerability in GNU nano's multi-buffer error message handling. When multiple files are opened at startup and one triggers an ALERT-level error, a filename containing printf format specifiers can be misinterpreted, allowing an attacker to disclose stack information, cause a crash, or potentially perform arbitrary memory writes. This vulnerability affects numerous specific versions of GNU nano as listed. The CVSS 3.1 score is 6.8 (AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H), reflecting local attack vector with low complexity, requiring low privileges and user interaction, impacting confidentiality, integrity, and availability.

Potential Impact

An attacker who can induce an ALERT-level error with a specially crafted filename can exploit this format string vulnerability to disclose stack information, cause a denial of service by crashing the application, or potentially perform arbitrary memory writes, which could lead to further compromise. The attack requires local access and user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, avoid opening multiple files with untrusted or specially crafted filenames in GNU nano to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-6390
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa47ec255bf5e2cf5857a28

Added to database: 09/11/2026, 22:20:50 UTC

Last enriched: 09/11/2026, 22:33:27 UTC

Last updated: 09/11/2026, 22:48:26 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses