PT-2024-3432 · Less+10 · Less+10

Jakub Wilk

·

Published

2024-04-12

·

Updated

2026-03-29

·

CVE-2024-32487

CVSS v3.1

8.6

High

VectorAV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: less versions through 653
Description: The issue is related to incorrect handling of quotes in the filename.c file, which can allow an attacker to execute arbitrary commands. This typically requires the use of attacker-controlled file names, such as those extracted from an untrusted archive, and the LESSOPEN environment variable, which is set by default in many cases.
Recommendations: For versions through 653, consider disabling the LESSOPEN environment variable as a temporary workaround until a patch is available. Restrict access to files with potentially malicious names to minimize the risk of exploitation. Avoid using less with untrusted archives or files until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:3513
ALSA-2024:4256
AZL-39914
AZL-39933
BDU:2024-03717
CESA-2024_4256
CVE-2024-32487
DLA-3823-1
DSA-5679-1
INFSA-2024_3513
INFSA-2024_4256
MGASA-2024-0139
OESA-2024-1502
OESA-2024-1547
OESA-2024-1587
OPENSUSE-SU-2024_1598-1
OPENSUSE-SU-2024_2060-1
OPENSUSE-SU-2025:14862-1
RHSA-2024:3513
RHSA-2024:3669
RHSA-2024:4256
RHSA-2024:4366
RHSA-2024:4369
RHSA-2024:4416
RHSA-2024:4418
RHSA-2024:4528
RHSA-2024:4529
RHSA-2024_3513
RHSA-2024_3669
RHSA-2024_4256
RLSA-2024:3513
ROSA-SA-2024-2488
SUSE-SU-2024:1534-1
SUSE-SU-2024:1550-1
SUSE-SU-2024:1598-1
SUSE-SU-2024:1598-2
SUSE-SU-2024:2060-1
SUSE-SU-2024_1534-1
SUSE-SU-2024_1550-1
SUSE-SU-2024_1598-1
SUSE-SU-2024_2060-1
SUSE-SU-2025:20007-1
SUSE-SU-2025:20394-1
USN-6756-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Zvirt Node
Less