Vulnerability Database

313,825

Total vulnerabilities in the database

CVE-2024-5742

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.

  • Published: Jun 12, 2024
  • Updated: Nov 16, 2025
  • CVE: CVE-2024-5742
  • Severity: Medium
  • Exploit:

CVSS v3:

  • Severity: Medium
  • Score: 6.7
  • AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

CWEs: