Skip to main content
CVE-2024-5742VulnerabilityPublished Updated

Red Hat Security Advisory: nano security update

Affects Red Hat nanoSource GCVE Database

0
Authoritative record:CVE-2024-5742· Medium 6.7

Not known to be exploited · CVSS 6.7 Medium : upgrade the Debian debian/nano package to 5.9-1.1 when convenient.

Data as of 26 Oct 2026, 12:54 UTC

CVSS 3.1 base score
6.7Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.9-1.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade the Debian debian/nano package to 5.9-1.1.

Affected software

ProductAffectedFixed in
Debiandebian/nanopkg:deb/debian/nanoOther threatsAffected
  • <5.9-1.1
Fixed in
  • 5.9-1.1
Red Hatredhat/nanopkg:rpm/redhat/nanoOther threatsAffected
  • =5.9-1.el9_0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

GNU nano is a small and friendly text editor. Security Fix(es): * nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file (CVE-2024-5742) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes: For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from the References section.

References

Community reviews

Loading reviews…