CVE-2024-32487: less through 653 allows OS command execution via a newline character in the name of a file, because quoting is
CVE-2024-32487 is a high-severity flaw (CVSS 8.6) affecting less, debian linux, bootstrap os. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.6 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 50%) |
| CISA exploited list | No |
| Weakness | CWE-96 |
| Published | 2024-04-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-32487?
less: upgrade to newer than 653; debian linux: mitigate or apply the listed mitigation; bootstrap os: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-32487 being exploited?
CVE-2024-32487 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-32487 affect?
CVE-2024-32487 affects less, debian linux, bootstrap os. Severity is high (CVSS 8.6). 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 fr
How urgent is CVE-2024-32487?
Priority 48/100. High severity; On your watchlist
Software pages
Debian vulnerabilities · Bootstrap vulnerabilities
Related CVEs
- CVE-2022-48624 HIGH 7.8 UPGRADE close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.