CVE catalog

CVE-2024-32487

less vulnerability

[CVE catalog]

Severity
High · CVSS 8.6CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.63% · Oct 25, 2026

An OS command injection flaw was found in Less. Since quoting is mishandled in filename.c, opening files with attacker-controlled file names can lead to OS command execution. Exploitation requires the LESSOPEN environment variable, which is set by default in many common cases. less: OS command injection The described vulnerability in less poses an Important security risk due to its potential for arbitrary OS command execution. Exploitation of this vulnerability allows an attacker to inject malicious commands through specially crafted filenames containing newline characters. This could lead to unauthorized access, data exfiltration, or even full system compromise, depending on the privileges of the user executing the less command. Furthermore, the mishandling of the LESSOPEN environment variable exacerbates the issue, as it can be set by default in many installations, providing an additional vector for exploitation. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianlesssid710+really668-1fixed
Debianlessforky710+really668-1fixed
Debianlesstrixie668-1fixed
Debianlessbookworm590-2.1~deb12u2fixed
Debianlessbookworm-security590-2.1~deb12u2fixed
Ubuntulessnoble590-2.1~deb12u2fixed
Ubuntulessnoble590-2ubuntu2.1fixed
Ubuntulesspro481-2.1ubuntu2vulnerable
Ubuntulesspro481-2.1ubuntu3vulnerable
Ubuntulesspro487-0.1vulnerable
Ubuntulesspro487-0.1ubuntu0.1~esm1vulnerable
Ubuntulesspro487-0.1ubuntu0.1~esm2fixed
Ubuntuless20.04487-0.1build1vulnerable
Ubuntuless20.04551-1vulnerable
Ubuntuless20.04551-1ubuntu0.1vulnerable
Ubuntuless20.04551-1ubuntu0.2vulnerable
Ubuntuless20.04551-1ubuntu0.3fixed
Ubuntuless22.04551-2vulnerable
Ubuntuless22.04551-2build1vulnerable
Ubuntuless22.04590-1vulnerable
Ubuntuless22.04590-1build1vulnerable
Ubuntuless22.04590-1ubuntu0.22.04.1vulnerable
Ubuntuless22.04590-1ubuntu0.22.04.2vulnerable
Ubuntuless22.04590-1ubuntu0.22.04.3fixed
Ubuntuless24.04590-2vulnerable
Ubuntuless24.04590-2ubuntu1vulnerable
Ubuntuless24.04590-2ubuntu2vulnerable
Ubuntuless24.04590-2ubuntu2.1fixed
Suselesslinux micro 6.1668-slfo.1.1_1.1fixed
Suselesslinux micro 6.0633-3.1fixed
Suselesslinux enterprise module for basesystem 15 sp6643-150600.3.3.1fixed
Opensuselessleap 15.6643-150600.3.3.1fixed
Suselesslinux enterprise micro 5.3590-150400.3.9.1fixed
Suselesslinux enterprise micro 5.4590-150400.3.9.1fixed
Suselesslinux enterprise micro 5.5590-150400.3.9.1fixed
Suselesslinux enterprise module for basesystem 15 sp5590-150400.3.9.1fixed
Suselesslinux enterprise high performance computing 15 sp4-espos590-150400.3.9.1fixed
Suselesslinux enterprise high performance computing 15 sp4-ltss590-150400.3.9.1fixed
Suselesslinux enterprise server 15 sp4-ltss590-150400.3.9.1fixed
Suselesslinux enterprise server for sap applications 15 sp4590-150400.3.9.1fixed
Suselessmanager proxy 4.3590-150400.3.9.1fixed
Suselessmanager server 4.3590-150400.3.9.1fixed
Opensuselessleap micro 5.3590-150400.3.9.1fixed
Opensuselessleap micro 5.4590-150400.3.9.1fixed
Opensuselessleap 15.5590-150400.3.9.1fixed
Suselesslinux enterprise server 12 sp5458-7.15.1fixed
Suselesslinux enterprise server for sap applications 12 sp5458-7.15.1fixed
Suselesslinux enterprise micro 5.5590-150400.3.9.1fixed
Ubuntulesspro481-2.1ubuntu2vulnerable
Ubuntulesspro481-2.1ubuntu3vulnerable
Ubuntulesspro487-0.1vulnerable
Ubuntulesspro487-0.1ubuntu0.1~esm1vulnerable
Ubuntulesspro487-0.1ubuntu0.1~esm2fixed
Ubuntuless20.04487-0.1build1vulnerable
Ubuntuless20.04551-1vulnerable
Ubuntuless20.04551-1ubuntu0.1vulnerable
Ubuntuless20.04551-1ubuntu0.2vulnerable
Ubuntuless20.04551-1ubuntu0.3fixed
Ubuntuless22.04551-2vulnerable
Ubuntuless22.04551-2build1vulnerable
Ubuntuless22.04590-1vulnerable
Ubuntuless22.04590-1build1vulnerable
Ubuntuless22.04590-1ubuntu0.22.04.1vulnerable
Ubuntuless22.04590-1ubuntu0.22.04.2vulnerable
Ubuntuless22.04590-1ubuntu0.22.04.3fixed
Ubuntuless24.04590-2vulnerable
Ubuntuless24.04590-2ubuntu1vulnerable
Ubuntuless24.04590-2ubuntu2vulnerable
Ubuntuless24.04590-2ubuntu2.1fixed
Suselesslinux enterprise high performance computing 15 sp2-ltss530-150000.3.9.1fixed
Suselesslinux enterprise high performance computing 15 sp3-ltss530-150000.3.9.1fixed
Suselesslinux enterprise server 15 sp2-ltss530-150000.3.9.1fixed
Suselesslinux enterprise server 15 sp3-ltss530-150000.3.9.1fixed
Suselesslinux enterprise server for sap applications 15 sp2530-150000.3.9.1fixed
Suselesslinux enterprise server for sap applications 15 sp3530-150000.3.9.1fixed
Suselesslinux enterprise micro 5.1530-150000.3.9.1fixed
Suselesslinux enterprise micro 5.2530-150000.3.9.1fixed
Suselessenterprise storage 7.1530-150000.3.9.1fixed
Opensuselesstumbleweed668-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlesssourcesid590-2.1not yet assignedNot reported[1068938]
Debianlesssourceforky590-2.1not yet assignedNot reported[1068938]
Debianlesssourcetrixie590-2.1not yet assignedNot reported[1068938]
Debianlesssourcebookworm590-2.1~deb12u2not yet assignedNot reported[1068938]
Ubuntulessdebnoble590-2.1~deb12u2Not reportedNot reportedNot reported
Ubuntulessdebnoble590-2ubuntu2.1Not reportedNot reportedNot reported
Ubuntulessdebpro487-0.1ubuntu0.1~esm2Not reportedUSN-6756-1Not reported
Ubuntulessdeb20.04551-1ubuntu0.3Not reportedUSN-6756-1Not reported
Ubuntulessdeb22.04590-1ubuntu0.22.04.3Not reportedUSN-6756-1Not reported
Ubuntulessdeb24.04590-2ubuntu2.1Not reportedUSN-6756-1Not reported
Suselessrpmlinux micro 6.1668-slfo.1.1_1.1Not reportedSUSE-SU-2025:20394-1Not reported
Suselessrpmlinux micro 6.0633-3.1Not reportedSUSE-SU-2025:20007-1Not reported
Suselessrpmlinux enterprise module for basesystem 15 sp6643-150600.3.3.1Not reportedSUSE-SU-2024:2060-1Not reported
Opensuselessrpmleap 15.6643-150600.3.3.1Not reportedSUSE-SU-2024:2060-1Not reported
Suselessrpmlinux enterprise micro 5.3590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise micro 5.4590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise micro 5.5590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise module for basesystem 15 sp5590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise high performance computing 15 sp4-espos590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise high performance computing 15 sp4-ltss590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise server 15 sp4-ltss590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise server for sap applications 15 sp4590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmmanager proxy 4.3590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmmanager server 4.3590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Opensuselessrpmleap micro 5.3590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Opensuselessrpmleap micro 5.4590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Opensuselessrpmleap 15.5590-150400.3.9.1Not reportedSUSE-SU-2024:1598-1Not reported
Suselessrpmlinux enterprise server 12 sp5458-7.15.1Not reportedSUSE-SU-2024:1550-1Not reported
Suselessrpmlinux enterprise server for sap applications 12 sp5458-7.15.1Not reportedSUSE-SU-2024:1550-1Not reported
Suselessrpmlinux enterprise micro 5.5590-150400.3.9.1Not reportedSUSE-SU-2024:1598-2Not reported
Ubuntulessdebpro487-0.1ubuntu0.1~esm2Not reportedUBUNTU-CVE-2024-32487Not reported
Ubuntulessdeb20.04551-1ubuntu0.3Not reportedUBUNTU-CVE-2024-32487Not reported
Ubuntulessdeb22.04590-1ubuntu0.22.04.3Not reportedUBUNTU-CVE-2024-32487Not reported
Ubuntulessdeb24.04590-2ubuntu2.1Not reportedUBUNTU-CVE-2024-32487Not reported
Suselessrpmlinux enterprise high performance computing 15 sp2-ltss530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmlinux enterprise high performance computing 15 sp3-ltss530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmlinux enterprise server 15 sp2-ltss530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmlinux enterprise server 15 sp3-ltss530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmlinux enterprise server for sap applications 15 sp2530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmlinux enterprise server for sap applications 15 sp3530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmlinux enterprise micro 5.1530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmlinux enterprise micro 5.2530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Suselessrpmenterprise storage 7.1530-150000.3.9.1Not reportedSUSE-SU-2024:1534-1Not reported
Opensuselessrpmtumbleweed668-2.1Not reportedOPENSUSE-SU-2025:14862-1Not reported

[Debian bug #1068938]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References