Skip to main content

GNU nano EUVDEUVD-2026-47874

| CVE-2026-6390 MEDIUM
Use of Externally-Controlled Format String (CWE-134)
2026-07-23 redhat GHSA-cgrj-mh7v-v4c8
6.8
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
6.8 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
vuln.today AI
6.8 MEDIUM

Local-only attack via crafted filename requires low-privilege account and active user interaction; high I/A from potential %n memory writes and crash; low C from stack read disclosure only.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
6.8 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Generated
Jul 23, 2026 - 05:16 vuln.today
CVE Published
Jul 23, 2026 - 03:55 cve.org
MEDIUM 6.8

DescriptionCVE.org

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.

AnalysisAI

Format string vulnerability in GNU nano's multi-buffer error message handling allows a local low-privileged attacker to cause stack information disclosure, denial of service via crash, or potentially achieve arbitrary memory writes. The flaw (CWE-134) is triggered when a user opens multiple files at startup, one of which carries a specially crafted name containing printf format specifiers and another triggers an ALERT-level error - causing nano to misinterpret the filename as a format string. Reported by Red Hat and scoped to RHEL 6 through 10 and OpenShift Container Platform 4, no public exploit or CISA KEV listing exists at time of analysis.

Technical ContextAI

GNU nano is a widely-used terminal text editor shipped as a default component across major Linux distributions including Red Hat Enterprise Linux. The affected subsystem is nano's multi-buffer mode, which handles multiple files opened simultaneously at startup. CWE-134 (Use of Externally-Controlled Format String) arises when user-supplied data - here, a filename - is passed directly to a printf-family function as the format argument rather than a positional argument. Format specifiers such as %s, %x, or the especially dangerous %n (which writes the count of bytes written to a pointer on the stack) embedded in a crafted filename can cause arbitrary reads from or writes to stack memory when the ALERT-level error message renders the filename unsanitized. The CVSS vector AV:L/AC:L/PR:L/UI:R/S:U confirms the attack is local, low complexity once conditions are met, requires minimal privilege, and necessitates user interaction. CPE data identifies affected products as cpe:2.3:a:red_hat:red_hat_enterprise_linux_6 through _10 and cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4, covering the nano packages distributed with those platforms.

RemediationAI

Monitor https://access.redhat.com/security/cve/CVE-2026-6390 for the Red Hat Security Advisory (RHSA) containing the patched nano package for your RHEL version; no exact patched package version is confirmed in available data at time of analysis. Apply the RHSA update via dnf update nano (RHEL 8/9/10) or yum update nano (RHEL 6/7) once published. For OpenShift Container Platform 4, follow the associated RHSA to update node base images or operator components that include nano. As an interim compensating control, restrict scripts or automation that invoke nano with user-controlled or externally-sourced filenames - wrap nano invocations to validate filenames do not contain percent signs before passing them. Educating users not to open nano with multiple files where any filename originates from an untrusted source reduces the UI:R dependency that exploitation relies upon. There is no confirmed workaround that fully mitigates the vulnerability without patching.

CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

CVE-2026-28369 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel

CVE-2026-28368 CRITICAL
9.1 Mar 27

HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls

CVE-2026-33845 CRITICAL
9.1 Apr 30

Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege

CVE-2026-28367 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow allows remote unauthenticated attackers to send `\r\r\r` as a header block terminator

CVE-2026-16526 HIGH
8.8 Jul 30

Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Package Hub 15 SP7 Fixed
SUSE Package Hub 15 SP7 Affected

Share

EUVD-2026-47874 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy