CVSS 3.1
8.6 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HHigh (8.6). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExplain CVE-2024-32487 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-32487?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-32487?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-32487 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| greenwoodsoftware:less | through 653 |
| debian:debian_linux | 10.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | less | 487-0.1+deb10u1 | DLA-3823-1 |
| Debian | 11 | less | 551-2+deb11u2 | DSA-5679-1 |
| Debian | 12 | less | 590-2.1~deb12u2 | DEBIAN-CVE-2024-32487 DSA-5679-1 |
| Debian | 13, 14 | less | 590-2.1 | DEBIAN-CVE-2024-32487 |
| Ubuntu | 20.04:LTS | less | 551-1ubuntu0.3 | UBUNTU-CVE-2024-32487 USN-6756-1 |
| Ubuntu | 22.04:LTS | less | 590-1ubuntu0.22.04.3 | UBUNTU-CVE-2024-32487 USN-6756-1 |
| Ubuntu | 24.04:LTS | less | 590-2ubuntu2.1 | UBUNTU-CVE-2024-32487 USN-6756-1 |
| Ubuntu | Pro:14.04:LTS | less | 458-2ubuntu0.1~esm1 | UBUNTU-CVE-2024-32487 USN-6756-1 |
| Ubuntu | Pro:16.04:LTS | less | 481-2.1ubuntu0.2+esm2 | UBUNTU-CVE-2024-32487 USN-6756-1 |
| Ubuntu | Pro:18.04:LTS | less | 487-0.1ubuntu0.1~esm2 | UBUNTU-CVE-2024-32487 USN-6756-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | less, less-debuginfo | 0:458-10.el7_9 | RHSA-2024:3669 |
| Red Hat | enterprise_linux:8::baseos | less, less-debuginfo, less-debugsource | 0:530-3.el8_10 | RHSA-2024:4256 |
| Red Hat | enterprise_linux:9::baseos | less, less-debuginfo, less-debugsource | 0:590-4.el9_4 | RHSA-2024:3513 |
| Red Hat | rhel_aus:8.2::baseos | less, less-debuginfo, less-debugsource | 0:530-2.el8_2 | RHSA-2024:4366 |
| Red Hat | rhel_aus:8.4::baseos, rhel_e4s:8.4::baseos, rhel_tus:8.4::baseos | less, less-debuginfo, less-debugsource | 0:530-2.el8_4 | RHSA-2024:4416 |
| Red Hat | rhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseos | less, less-debuginfo, less-debugsource | 0:530-3.el8_6 | RHSA-2024:4418 |
| Red Hat | rhel_e4s:9.0::baseos | less, less-debuginfo, less-debugsource | 0:590-2.el9_0 | RHSA-2024:4528 |
| Red Hat | rhel_eus:8.8::baseos | less, less-debuginfo, less-debugsource | 0:530-3.el8_8 | RHSA-2024:4369 |
| Red Hat | rhel_eus:9.2::baseos | less, less-debuginfo, less-debugsource | 0:590-3.el9_2 | RHSA-2024:4529 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 more | less | 530-150000.3.9.1 | SUSE-SU-2024:1534-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 7 more | less | 590-150400.3.9.1 | SUSE-SU-2024:1598-1 |
| SUSE | Linux Enterprise Micro 5.5 | less | 590-150400.3.9.1 | SUSE-SU-2024:1598-2 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6 | less | 643-150600.3.3.1 | SUSE-SU-2024:2060-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | less | 458-7.15.1 | SUSE-SU-2024:1550-1 |
| SUSE | Linux Micro 6.0 | less | 633-3.1 | SUSE-SU-2025:20007-1 |
| SUSE | Linux Micro 6.1 | less | 668-slfo.1.1_1.1 | SUSE-SU-2025:20394-1 |
| openSUSE | Leap 15.5, Leap Micro 5.3, Leap Micro 5.4 | less | 590-150400.3.9.1 | SUSE-SU-2024:1598-1 |
| openSUSE | Leap 15.6 | less | 643-150600.3.3.1 | SUSE-SU-2024:2060-1 |
| openSUSE | Tumbleweed | less | 668-2.1 | openSUSE-SU-2025:14862-1 |
| AlmaLinux | 8 | less | 530-3.el8_10 | ALSA-2024:4256 |
| AlmaLinux | 9 | less | 590-4.el9_4 | ALSA-2024:3513 |
| Rocky Linux | 8 | less | 0:530-3.el8_10 | RLSA-2024:4256 |
| Rocky Linux | 9 | less | 0:590-4.el9_4 | RLSA-2024:3513 |
| Azure Linux | 2 | less | 590-4 | AZL-39933 |
| Azure Linux | 3 | less | 643-2 | AZL-39914 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
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.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | less-0:458-10.el7_9 | Fixed 2024-06-06 | RHSA-2024:3669 |
| Red Hat Enterprise Linux 8 | less-0:530-3.el8_10 | Fixed 2024-07-02 | RHSA-2024:4256 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | less-0:530-2.el8_2 | Fixed 2024-07-08 | RHSA-2024:4366 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | less-0:530-2.el8_4 | Fixed 2024-07-09 | RHSA-2024:4416 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | less-0:530-2.el8_4 | Fixed 2024-07-09 | RHSA-2024:4416 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | less-0:530-2.el8_4 | Fixed 2024-07-09 | RHSA-2024:4416 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | less-0:530-3.el8_6 | Fixed 2024-07-09 | RHSA-2024:4418 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | less-0:530-3.el8_6 | Fixed 2024-07-09 | RHSA-2024:4418 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | less-0:530-3.el8_6 | Fixed 2024-07-09 | RHSA-2024:4418 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | less-0:530-3.el8_8 | Fixed 2024-07-08 | RHSA-2024:4369 |
| Red Hat Enterprise Linux 9 | less-0:590-4.el9_4 | Fixed 2024-05-30 | RHSA-2024:3513 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | less-0:590-2.el9_0 | Fixed 2024-07-15 | RHSA-2024:4528 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | less-0:590-3.el9_2 | Fixed 2024-07-15 | RHSA-2024:4529 |
| Red Hat Enterprise Linux 10 | less | Not affected | |
| Red Hat Enterprise Linux 6 | less | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-32487.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.