CVE catalog

CVE-2024-5742

nano vulnerability

[CVE catalog]

Severity
Medium · CVSS 6.7CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.34% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannanosid9.3-1fixed
Debiannanoforky9.2-1fixed
Debiannanotrixie8.4-1+deb13u1fixed
Debiannanobookworm7.2-1+deb12u1fixed
Ubuntunanonoble7.2-1+deb12u1fixed
Ubuntunanonoble7.2-2ubuntu0.1fixed
Ubuntunano-tinynoble7.2-2ubuntu0.1fixed
CpenanoNot reported8.0fixed
Cpeenterprise_linuxNot reportedNot reportedunknown
Ubuntunanopro2.2.6-1ubuntu1vulnerable
Ubuntunanopro2.2.6-1ubuntu1+esm1fixed
Ubuntunanopro2.8.6-3vulnerable
Ubuntunanopro2.8.7-1vulnerable
Ubuntunanopro2.9.0-1vulnerable
Ubuntunanopro2.9.1-1vulnerable
Ubuntunanopro2.9.2-1vulnerable
Ubuntunanopro2.9.3-1vulnerable
Ubuntunanopro2.9.3-2vulnerable
Ubuntunanopro2.9.3-2ubuntu0.1~esm1fixed
Ubuntunano20.044.3-1vulnerable
Ubuntunano20.044.5-1vulnerable
Ubuntunano20.044.7-1vulnerable
Ubuntunano20.044.7-2vulnerable
Ubuntunano20.044.8-1vulnerable
Ubuntunano20.044.8-1ubuntu1vulnerable
Ubuntunano20.044.8-1ubuntu1.1fixed
Ubuntunano22.045.6.1-1build1vulnerable
Ubuntunano22.045.9-1vulnerable
Ubuntunano22.046.0-1vulnerable
Ubuntunano22.046.1-1vulnerable
Ubuntunano22.046.2-1vulnerable
Ubuntunano22.046.2-1ubuntu0.1fixed
Ubuntunano24.047.2-1vulnerable
Ubuntunano24.047.2-2vulnerable
Ubuntunano24.047.2-2build1vulnerable
Ubuntunano24.047.2-2ubuntu0.1fixed
Ubuntunanopro2.8.6-3vulnerable
Ubuntunanopro2.8.7-1vulnerable
Ubuntunanopro2.9.0-1vulnerable
Ubuntunanopro2.9.1-1vulnerable
Ubuntunanopro2.9.2-1vulnerable
Ubuntunanopro2.9.3-1vulnerable
Ubuntunanopro2.9.3-2vulnerable
Ubuntunanopro2.9.3-2ubuntu0.1~esm1fixed
Ubuntunano20.044.3-1vulnerable
Ubuntunano20.044.5-1vulnerable
Ubuntunano20.044.7-1vulnerable
Ubuntunano20.044.7-2vulnerable
Ubuntunano20.044.8-1vulnerable
Ubuntunano20.044.8-1ubuntu1vulnerable
Ubuntunano20.044.8-1ubuntu1.1fixed
Ubuntunano22.045.6.1-1build1vulnerable
Ubuntunano22.045.9-1vulnerable
Ubuntunano22.046.0-1vulnerable
Ubuntunano22.046.1-1vulnerable
Ubuntunano22.046.2-1vulnerable
Ubuntunano22.046.2-1ubuntu0.1fixed
Ubuntunano24.047.2-1vulnerable
Ubuntunano24.047.2-2vulnerable
Ubuntunano24.047.2-2build1vulnerable
Ubuntunano24.047.2-2ubuntu0.1fixed
Opensusenanotumbleweed8.0-2.1fixed
Susenanopackage hub 15 sp57.2-bp156.3.3.1fixed
Susenanopackage hub 15 sp67.2-bp156.3.3.1fixed
Opensusenanoleap 15.57.2-bp156.3.3.1fixed
Opensusenanoleap 15.67.2-bp156.3.3.1fixed
Susenanopackage hub 15 sp57.2-bp156.3.3.1fixed
Susenanopackage hub 15 sp67.2-bp156.3.3.1fixed
Opensusenanoleap 15.57.2-bp156.3.3.1fixed
Opensusenanoleap 15.67.2-bp156.3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannanosourcesid8.0-1not yet assignedNot reportedNot reported
Debiannanosourceforky8.0-1not yet assignedNot reportedNot reported
Debiannanosourcetrixie8.0-1not yet assignedNot reportedNot reported
Debiannanosourcebookworm7.2-1+deb12u1not yet assignedNot reportedNot reported
Ubuntunanodebnoble7.2-1+deb12u1Not reportedNot reportedNot reported
Ubuntunanodebnoble7.2-2ubuntu0.1Not reportedNot reportedNot reported
Ubuntunano-tinydebnoble7.2-2ubuntu0.1Not reportedNot reportedNot reported
CpenanocpeNot reported8.0Not reportedNVD-CVE-2024-5742Not reported
Ubuntunanodebpro2.2.6-1ubuntu1+esm1Not reportedUSN-7064-2Not reported
Ubuntunanodebpro2.9.3-2ubuntu0.1~esm1Not reportedUSN-7064-1Not reported
Ubuntunanodeb20.044.8-1ubuntu1.1Not reportedUSN-7064-1Not reported
Ubuntunanodeb22.046.2-1ubuntu0.1Not reportedUSN-7064-1Not reported
Ubuntunanodeb24.047.2-2ubuntu0.1Not reportedUSN-7064-1Not reported
Ubuntunanodebpro2.9.3-2ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-5742Not reported
Ubuntunanodeb20.044.8-1ubuntu1.1Not reportedUBUNTU-CVE-2024-5742Not reported
Ubuntunanodeb22.046.2-1ubuntu0.1Not reportedUBUNTU-CVE-2024-5742Not reported
Ubuntunanodeb24.047.2-2ubuntu0.1Not reportedUBUNTU-CVE-2024-5742Not reported
Opensusenanorpmtumbleweed8.0-2.1Not reportedOPENSUSE-SU-2024:14034-1Not reported
Susenanorpmpackage hub 15 sp57.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-1Not reported
Susenanorpmpackage hub 15 sp67.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-1Not reported
Opensusenanorpmleap 15.57.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-1Not reported
Opensusenanorpmleap 15.67.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-1Not reported
Susenanorpmpackage hub 15 sp57.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-2Not reported
Susenanorpmpackage hub 15 sp67.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-2Not reported
Opensusenanorpmleap 15.57.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-2Not reported
Opensusenanorpmleap 15.67.2-bp156.3.3.1Not reportedOPENSUSE-SU-2024:0157-2Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References