
CVE catalog
CVE-2024-32487
less vulnerability
- Severity
- High · CVSS 8.6
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | less | sid | 710+really668-1 | fixed |
| Debian | less | forky | 710+really668-1 | fixed |
| Debian | less | trixie | 668-1 | fixed |
| Debian | less | bookworm | 590-2.1~deb12u2 | fixed |
| Debian | less | bookworm-security | 590-2.1~deb12u2 | fixed |
| Ubuntu | less | noble | 590-2.1~deb12u2 | fixed |
| Ubuntu | less | noble | 590-2ubuntu2.1 | fixed |
| Ubuntu | less | pro | 481-2.1ubuntu2 | vulnerable |
| Ubuntu | less | pro | 481-2.1ubuntu3 | vulnerable |
| Ubuntu | less | pro | 487-0.1 | vulnerable |
| Ubuntu | less | pro | 487-0.1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | less | pro | 487-0.1ubuntu0.1~esm2 | fixed |
| Ubuntu | less | 20.04 | 487-0.1build1 | vulnerable |
| Ubuntu | less | 20.04 | 551-1 | vulnerable |
| Ubuntu | less | 20.04 | 551-1ubuntu0.1 | vulnerable |
| Ubuntu | less | 20.04 | 551-1ubuntu0.2 | vulnerable |
| Ubuntu | less | 20.04 | 551-1ubuntu0.3 | fixed |
| Ubuntu | less | 22.04 | 551-2 | vulnerable |
| Ubuntu | less | 22.04 | 551-2build1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1build1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1ubuntu0.22.04.1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1ubuntu0.22.04.2 | vulnerable |
| Ubuntu | less | 22.04 | 590-1ubuntu0.22.04.3 | fixed |
| Ubuntu | less | 24.04 | 590-2 | vulnerable |
| Ubuntu | less | 24.04 | 590-2ubuntu1 | vulnerable |
| Ubuntu | less | 24.04 | 590-2ubuntu2 | vulnerable |
| Ubuntu | less | 24.04 | 590-2ubuntu2.1 | fixed |
| Suse | less | linux micro 6.1 | 668-slfo.1.1_1.1 | fixed |
| Suse | less | linux micro 6.0 | 633-3.1 | fixed |
| Suse | less | linux enterprise module for basesystem 15 sp6 | 643-150600.3.3.1 | fixed |
| Opensuse | less | leap 15.6 | 643-150600.3.3.1 | fixed |
| Suse | less | linux enterprise micro 5.3 | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise micro 5.4 | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise micro 5.5 | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise module for basesystem 15 sp5 | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise high performance computing 15 sp4-espos | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise high performance computing 15 sp4-ltss | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise server 15 sp4-ltss | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise server for sap applications 15 sp4 | 590-150400.3.9.1 | fixed |
| Suse | less | manager proxy 4.3 | 590-150400.3.9.1 | fixed |
| Suse | less | manager server 4.3 | 590-150400.3.9.1 | fixed |
| Opensuse | less | leap micro 5.3 | 590-150400.3.9.1 | fixed |
| Opensuse | less | leap micro 5.4 | 590-150400.3.9.1 | fixed |
| Opensuse | less | leap 15.5 | 590-150400.3.9.1 | fixed |
| Suse | less | linux enterprise server 12 sp5 | 458-7.15.1 | fixed |
| Suse | less | linux enterprise server for sap applications 12 sp5 | 458-7.15.1 | fixed |
| Suse | less | linux enterprise micro 5.5 | 590-150400.3.9.1 | fixed |
| Ubuntu | less | pro | 481-2.1ubuntu2 | vulnerable |
| Ubuntu | less | pro | 481-2.1ubuntu3 | vulnerable |
| Ubuntu | less | pro | 487-0.1 | vulnerable |
| Ubuntu | less | pro | 487-0.1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | less | pro | 487-0.1ubuntu0.1~esm2 | fixed |
| Ubuntu | less | 20.04 | 487-0.1build1 | vulnerable |
| Ubuntu | less | 20.04 | 551-1 | vulnerable |
| Ubuntu | less | 20.04 | 551-1ubuntu0.1 | vulnerable |
| Ubuntu | less | 20.04 | 551-1ubuntu0.2 | vulnerable |
| Ubuntu | less | 20.04 | 551-1ubuntu0.3 | fixed |
| Ubuntu | less | 22.04 | 551-2 | vulnerable |
| Ubuntu | less | 22.04 | 551-2build1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1build1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1ubuntu0.22.04.1 | vulnerable |
| Ubuntu | less | 22.04 | 590-1ubuntu0.22.04.2 | vulnerable |
| Ubuntu | less | 22.04 | 590-1ubuntu0.22.04.3 | fixed |
| Ubuntu | less | 24.04 | 590-2 | vulnerable |
| Ubuntu | less | 24.04 | 590-2ubuntu1 | vulnerable |
| Ubuntu | less | 24.04 | 590-2ubuntu2 | vulnerable |
| Ubuntu | less | 24.04 | 590-2ubuntu2.1 | fixed |
| Suse | less | linux enterprise high performance computing 15 sp2-ltss | 530-150000.3.9.1 | fixed |
| Suse | less | linux enterprise high performance computing 15 sp3-ltss | 530-150000.3.9.1 | fixed |
| Suse | less | linux enterprise server 15 sp2-ltss | 530-150000.3.9.1 | fixed |
| Suse | less | linux enterprise server 15 sp3-ltss | 530-150000.3.9.1 | fixed |
| Suse | less | linux enterprise server for sap applications 15 sp2 | 530-150000.3.9.1 | fixed |
| Suse | less | linux enterprise server for sap applications 15 sp3 | 530-150000.3.9.1 | fixed |
| Suse | less | linux enterprise micro 5.1 | 530-150000.3.9.1 | fixed |
| Suse | less | linux enterprise micro 5.2 | 530-150000.3.9.1 | fixed |
| Suse | less | enterprise storage 7.1 | 530-150000.3.9.1 | fixed |
| Opensuse | less | tumbleweed | 668-2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | less | source | sid | 590-2.1 | not yet assigned | Not reported | [1068938] |
| Debian | less | source | forky | 590-2.1 | not yet assigned | Not reported | [1068938] |
| Debian | less | source | trixie | 590-2.1 | not yet assigned | Not reported | [1068938] |
| Debian | less | source | bookworm | 590-2.1~deb12u2 | not yet assigned | Not reported | [1068938] |
| Ubuntu | less | deb | noble | 590-2.1~deb12u2 | Not reported | Not reported | Not reported |
| Ubuntu | less | deb | noble | 590-2ubuntu2.1 | Not reported | Not reported | Not reported |
| Ubuntu | less | deb | pro | 487-0.1ubuntu0.1~esm2 | Not reported | USN-6756-1 | Not reported |
| Ubuntu | less | deb | 20.04 | 551-1ubuntu0.3 | Not reported | USN-6756-1 | Not reported |
| Ubuntu | less | deb | 22.04 | 590-1ubuntu0.22.04.3 | Not reported | USN-6756-1 | Not reported |
| Ubuntu | less | deb | 24.04 | 590-2ubuntu2.1 | Not reported | USN-6756-1 | Not reported |
| Suse | less | rpm | linux micro 6.1 | 668-slfo.1.1_1.1 | Not reported | SUSE-SU-2025:20394-1 | Not reported |
| Suse | less | rpm | linux micro 6.0 | 633-3.1 | Not reported | SUSE-SU-2025:20007-1 | Not reported |
| Suse | less | rpm | linux enterprise module for basesystem 15 sp6 | 643-150600.3.3.1 | Not reported | SUSE-SU-2024:2060-1 | Not reported |
| Opensuse | less | rpm | leap 15.6 | 643-150600.3.3.1 | Not reported | SUSE-SU-2024:2060-1 | Not reported |
| Suse | less | rpm | linux enterprise micro 5.3 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise micro 5.4 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise micro 5.5 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise module for basesystem 15 sp5 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise high performance computing 15 sp4-espos | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise high performance computing 15 sp4-ltss | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise server 15 sp4-ltss | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise server for sap applications 15 sp4 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | manager proxy 4.3 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | manager server 4.3 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Opensuse | less | rpm | leap micro 5.3 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Opensuse | less | rpm | leap micro 5.4 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Opensuse | less | rpm | leap 15.5 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-1 | Not reported |
| Suse | less | rpm | linux enterprise server 12 sp5 | 458-7.15.1 | Not reported | SUSE-SU-2024:1550-1 | Not reported |
| Suse | less | rpm | linux enterprise server for sap applications 12 sp5 | 458-7.15.1 | Not reported | SUSE-SU-2024:1550-1 | Not reported |
| Suse | less | rpm | linux enterprise micro 5.5 | 590-150400.3.9.1 | Not reported | SUSE-SU-2024:1598-2 | Not reported |
| Ubuntu | less | deb | pro | 487-0.1ubuntu0.1~esm2 | Not reported | UBUNTU-CVE-2024-32487 | Not reported |
| Ubuntu | less | deb | 20.04 | 551-1ubuntu0.3 | Not reported | UBUNTU-CVE-2024-32487 | Not reported |
| Ubuntu | less | deb | 22.04 | 590-1ubuntu0.22.04.3 | Not reported | UBUNTU-CVE-2024-32487 | Not reported |
| Ubuntu | less | deb | 24.04 | 590-2ubuntu2.1 | Not reported | UBUNTU-CVE-2024-32487 | Not reported |
| Suse | less | rpm | linux enterprise high performance computing 15 sp2-ltss | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | linux enterprise high performance computing 15 sp3-ltss | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | linux enterprise server 15 sp2-ltss | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | linux enterprise server 15 sp3-ltss | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | linux enterprise server for sap applications 15 sp2 | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | linux enterprise server for sap applications 15 sp3 | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | linux enterprise micro 5.1 | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | linux enterprise micro 5.2 | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Suse | less | rpm | enterprise storage 7.1 | 530-150000.3.9.1 | Not reported | SUSE-SU-2024:1534-1 | Not reported |
| Opensuse | less | rpm | tumbleweed | 668-2.1 | Not reported | OPENSUSE-SU-2025:14862-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2024:4256]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_3669.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-32487]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1534-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1550-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1598-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1598-2]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2060-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20007-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20394-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-32487]
- [https://osv.dev/vulnerability/USN-6756-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:14862-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-32487]
- [https://ubuntu.com/security/notices/USN-6756-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0225.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]