---
title: "CVE-2024-32487"
canonical_url: "https://pkgseek.com/security/CVE-2024-32487"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2024-32487

less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c. Exploitation typically requires use with attacker-controlled file names, such as the files extracted from an untrusted archive. Exploitation also requires the LESSOPEN environment variable, but this is set by default in many common cases.

CVE-2024-32487 is rated HIGH, with 7 indexed affected package builds across 4 distributions.

- **Severity / Score**: HIGH
- **Affected builds**: 7
- **Affected distros**: 4
- **Distros with fixed_in**: openSUSE, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| openSUSE | 15.6 | less | 643-150600.1.37 | 643-150600.3.3.1 |
| Oracle Linux | 8 | less | 530-2.el8_9 | 530-3.el8_10 |
| Oracle Linux | 9 | less | 590-3.el9_3 | 590-4.el9_4 |
| Red Hat Enterprise Linux | 9.8 | less | 590-3.el9_3 | 590-4.el9_4 |
| Ubuntu | focal | less | 551-1 | 551-1ubuntu0.3 |
| Ubuntu | jammy | less | 590-1build1 | 590-1ubuntu0.22.04.3 |
| Ubuntu | noble | less | 590-2ubuntu2 | 590-2ubuntu2.1 |
