Live threats

All CVEs / Gnu

CVE-2024-5742Gnu Nano

Medium 6.7

Priority
40
CVSS 3.1
6.7
EPSS
0.4%
probability of exploitation in 30 days · percentile 22
Auth required
Yes
Published
Jun 12, 2024
Updated
Nov 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a window of opportunity for attackers to escalate privileges through a malicious symlink.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nano.

Affected products (CPE)

VendorProductVersions
gnunano≥ 2.2.0 < 8.0
redhatenterprise_linux6.0
redhatenterprise_linux7.0
redhatenterprise_linux8.0
redhatenterprise_linux9.0

Official sources

References

Links published by the sources. Open them with care.