# CVE-2022-48624: less: close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.

CVE-2022-48624 is fixed in 3 products on 1 platform, first by ALAS2023-2023-123, released March 6, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-48624
- Priority: High
- CVSS: 8.6 (Medium)
- EPSS: 0.0106
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 6, 2023

## Description

close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | less Debian 11.6 (bullseye) | 551-2+deb11u2 | [DSA-5679-1](https://patchblox.com/security/data/fix/linux/dsa-5679-1.md) | May 3, 2024 |
| Linux | less Debian 12.15 (bookworm) | 590-2.1~deb12u2 | [DSA-5679-1](https://patchblox.com/security/data/fix/linux/dsa-5679-1.md) | May 3, 2024 |
| Linux | less Debian 13.5 (trixie) | 590-2.1 | [DEBIAN-CVE-2022-48624](https://patchblox.com/security/data/fix/linux/debian-cve-2022-48624.md) | Feb 19, 2024 |
| Linux | less Debian 14 | 590-2.1 | [DEBIAN-CVE-2022-48624](https://patchblox.com/security/data/fix/linux/debian-cve-2022-48624.md) | Feb 19, 2024 |
| Linux | less RHEL 8 | 0:530-3.el8_10 | [RHSA-2024:4256](https://patchblox.com/security/data/fix/linux/rhsa-2024-4256.md) | Jul 2, 2024 |
| Linux | less RHEL 9 | 0:590-3.el9_3 | [RHSA-2024:1692](https://patchblox.com/security/data/fix/linux/rhsa-2024-1692.md) | Apr 8, 2024 |
| Linux | less Ubuntu 18.04.6 LTS (bionic) | 487-0.1ubuntu0.1~esm1 | [less 487-0.1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-less-487-0.1ubuntu0.1-esm1.md) | Feb 18, 2024 |
| Linux | less Ubuntu 20.04 LTS (focal) | 551-1ubuntu0.2 | [less 551-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-less-551-1ubuntu0.2.md) | Feb 18, 2024 |
| Linux | less Ubuntu 22.04.1 LTS (jammy) | 590-1ubuntu0.22.04.2 | [less 590-1ubuntu0.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-less-590-1ubuntu0.22.04.2.md) | Feb 18, 2024 |
| Linux | less Ubuntu 24.04.5 LTS (noble) | 590-2ubuntu1 | [less 590-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-less-590-2ubuntu1.md) | Feb 18, 2024 |
| Linux | less Ubuntu 24.10 (oracular) | 590-2ubuntu1 | [less 590-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-less-590-2ubuntu1.md) | Jan 16, 2026 |
| Linux | less Ubuntu 25.04 (plucky) | 590-2ubuntu1 | [less 590-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-less-590-2ubuntu1.md) | Jan 16, 2026 |
| Linux | less almalinux 8 | 530-3.el8_10 | [ALSA-2024:4256](https://patchblox.com/security/data/fix/linux/alsa-2024-4256.md) | Jul 2, 2024 |
| Linux | less almalinux 9 | 590-3.el9_3 | [ALSA-2024:1692](https://patchblox.com/security/data/fix/linux/alsa-2024-1692.md) | Apr 8, 2024 |
| Linux | less amzn 2023 | 608-2.amzn2023.0.1 | [ALAS2023-2023-123](https://patchblox.com/security/data/fix/linux/alas2023-2023-123.md) | Mar 6, 2023 |
| Linux | less ol 8 | 0:530-2.el8_9 | [ELSA-2024-1610](https://patchblox.com/security/data/fix/linux/elsa-2024-1610.md) | Apr 3, 2024 |
| Linux | less ol 9 | 0:590-3.el9_3 | [ELSA-2024-1692](https://patchblox.com/security/data/fix/linux/elsa-2024-1692.md) | Apr 8, 2024 |
| Linux | less rocky 8 | 0:530-3.el8_10 | [RLSA-2024:4256](https://patchblox.com/security/data/fix/linux/rlsa-2024-4256.md) | May 7, 2025 |
| Linux | less rocky 9 | 0:590-3.el9_3 | [RLSA-2024:1692](https://patchblox.com/security/data/fix/linux/rlsa-2024-1692.md) | May 10, 2024 |
| Linux | less-debuginfo amzn 2023 | 608-2.amzn2023.0.1 | [ALAS2023-2023-123](https://patchblox.com/security/data/fix/linux/alas2023-2023-123.md) | Mar 6, 2023 |
| Linux | less-debugsource amzn 2023 | 608-2.amzn2023.0.1 | [ALAS2023-2023-123](https://patchblox.com/security/data/fix/linux/alas2023-2023-123.md) | Mar 6, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
