Vulnerability · Published Jul 23, 2026 · Assigned by redhat

CVE-2026-6390Nano: gnu nano: arbitrary memory writes, information disclosure, or denial of service via format string vulnerability in error handling.

Medium 6.8

In plain English

A medium-severity security flaw in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.2%top 95.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in GNU nano's multi-buffer error message handling. When a user opens multiple files at startup and one triggers an ALERT-level error, a specially crafted filename containing printf format specifiers can be reinterpreted. This format string vulnerability may allow an attacker to achieve stack information disclosure, cause a denial of service (crash), or potentially perform arbitrary memory writes.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nanono fix listedDEBIAN-CVE-2026-6390
Debian:13nanono fix listedDEBIAN-CVE-2026-6390
Debian:14nano9.0-1DEBIAN-CVE-2026-6390
Ubuntu:22.04:LTSnano6.2-1ubuntu0.2UBUNTU-CVE-2026-6390
Ubuntu:24.04:LTSnano7.2-2ubuntu0.2UBUNTU-CVE-2026-6390
Ubuntu:25.10nano8.4-1ubuntu0.1UBUNTU-CVE-2026-6390
Ubuntu:26.04:LTSnano8.7.1-1ubuntu0.1UBUNTU-CVE-2026-6390

Affected products (as reported)

Weakness: CWE-134 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H

References