# CVE-2022-48338: emacs: GNU Emacs is a powerful, customizable, self-documenting text editor

CVE-2022-48338 is fixed in 15 products on 1 platform, first by DEBIAN-CVE-2022-48338, released February 20, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-48338
- Priority: High
- CVSS: 7.3 (Important)
- EPSS: 0.0164
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 20, 2023

## Description

GNU Emacs is a powerful, customizable, self-documenting text editor. It provides special code editing features, a scripting language (elisp), and the capability to read e-mail and news.  Security Fix(es):  * emacs: Regression of CVE-2023-28617 fixes in the Red Hat Enterprise Linux (CVE-2023-2491)  * emacs: command execution via shell metacharacters (CVE-2022-48337)  * emacs: local command injection in ruby-mode.el (CVE-2022-48338)  * emacs: command injection vulnerability in htmlfontify.el (CVE-2022-48339)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | emacs Debian 12.15 (bookworm) | 1:28.2+1-11 | [DEBIAN-CVE-2022-48338](https://patchblox.com/security/data/fix/linux/debian-cve-2022-48338.md) | Feb 20, 2023 |
| Linux | emacs Debian 13.5 (trixie) | 1:28.2+1-11 | [DEBIAN-CVE-2022-48338](https://patchblox.com/security/data/fix/linux/debian-cve-2022-48338.md) | Feb 20, 2023 |
| Linux | emacs Debian 14 | 1:28.2+1-11 | [DEBIAN-CVE-2022-48338](https://patchblox.com/security/data/fix/linux/debian-cve-2022-48338.md) | Feb 20, 2023 |
| Linux | emacs RHEL 9 | 1:27.2-8.el9_2.1 | [RHSA-2023:2626](https://patchblox.com/security/data/fix/linux/rhsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs Ubuntu 22.04.1 LTS (jammy) | 1:27.1+1-3ubuntu5.2 | [emacs 1:27.1+1-3ubuntu5.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-emacs-1-27.1-1-3ubuntu5.2.md) | Jun 23, 2024 |
| Linux | emacs almalinux 9 | 1:27.2-8.el9_2.1 | [ALSA-2023:2626](https://patchblox.com/security/data/fix/linux/alsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs ol 9 | 1:27.2-8.el9_2.1 | [ELSA-2023-2626](https://patchblox.com/security/data/fix/linux/elsa-2023-2626.md) | May 17, 2023 |
| Linux | emacs-bin-common Ubuntu 22.04.1 LTS (jammy) | 1:27.1+1-3ubuntu5.2 | [emacs-bin-common 1:27.1+1-3ubuntu5.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-emacs-bin-common-1-27.1-1-3ubuntu5.2.md) | Jun 23, 2024 |
| Linux | emacs-common RHEL 9 | 1:27.2-8.el9_2.1 | [RHSA-2023:2626](https://patchblox.com/security/data/fix/linux/rhsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-common Ubuntu 22.04.1 LTS (jammy) | 1:27.1+1-3ubuntu5.2 | [emacs-common 1:27.1+1-3ubuntu5.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-emacs-common-1-27.1-1-3ubuntu5.2.md) | Jun 23, 2024 |
| Linux | emacs-common almalinux 9 | 1:27.2-8.el9_2.1 | [ALSA-2023:2626](https://patchblox.com/security/data/fix/linux/alsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-common amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-common ol 9 | 1:27.2-8.el9_2.1 | [ELSA-2023-2626](https://patchblox.com/security/data/fix/linux/elsa-2023-2626.md) | May 17, 2023 |
| Linux | emacs-common-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-debugsource amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-devel amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-el Ubuntu 22.04.1 LTS (jammy) | 1:27.1+1-3ubuntu5.2 | [emacs-el 1:27.1+1-3ubuntu5.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-emacs-el-1-27.1-1-3ubuntu5.2.md) | Jun 23, 2024 |
| Linux | emacs-filesystem RHEL 9 | 1:27.2-8.el9_2.1 | [RHSA-2023:2626](https://patchblox.com/security/data/fix/linux/rhsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-filesystem almalinux 9 | 1:27.2-8.el9_2.1 | [ALSA-2023:2626](https://patchblox.com/security/data/fix/linux/alsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-filesystem amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-filesystem ol 9 | 1:27.2-8.el9_2.1 | [ELSA-2023-2626](https://patchblox.com/security/data/fix/linux/elsa-2023-2626.md) | May 17, 2023 |
| Linux | emacs-gtk Ubuntu 22.04.1 LTS (jammy) | 1:27.1+1-3ubuntu5.2 | [emacs-gtk 1:27.1+1-3ubuntu5.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-emacs-gtk-1-27.1-1-3ubuntu5.2.md) | Jun 23, 2024 |
| Linux | emacs-lucid RHEL 9 | 1:27.2-8.el9_2.1 | [RHSA-2023:2626](https://patchblox.com/security/data/fix/linux/rhsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-lucid Ubuntu 22.04.1 LTS (jammy) | 1:27.1+1-3ubuntu5.2 | [emacs-lucid 1:27.1+1-3ubuntu5.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-emacs-lucid-1-27.1-1-3ubuntu5.2.md) | Jun 23, 2024 |
| Linux | emacs-lucid almalinux 9 | 1:27.2-8.el9_2.1 | [ALSA-2023:2626](https://patchblox.com/security/data/fix/linux/alsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-lucid amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-lucid ol 9 | 1:27.2-8.el9_2.1 | [ELSA-2023-2626](https://patchblox.com/security/data/fix/linux/elsa-2023-2626.md) | May 17, 2023 |
| Linux | emacs-lucid-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-nox RHEL 9 | 1:27.2-8.el9_2.1 | [RHSA-2023:2626](https://patchblox.com/security/data/fix/linux/rhsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-nox Ubuntu 22.04.1 LTS (jammy) | 1:27.1+1-3ubuntu5.2 | [emacs-nox 1:27.1+1-3ubuntu5.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-emacs-nox-1-27.1-1-3ubuntu5.2.md) | Jun 23, 2024 |
| Linux | emacs-nox almalinux 9 | 1:27.2-8.el9_2.1 | [ALSA-2023:2626](https://patchblox.com/security/data/fix/linux/alsa-2023-2626.md) | May 9, 2023 |
| Linux | emacs-nox amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-nox ol 9 | 1:27.2-8.el9_2.1 | [ELSA-2023-2626](https://patchblox.com/security/data/fix/linux/elsa-2023-2626.md) | May 17, 2023 |
| Linux | emacs-nox-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |
| Linux | emacs-terminal amzn 2023 | 1:28.2-3.amzn2023.0.3 | [ALAS2023-2023-122](https://patchblox.com/security/data/fix/linux/alas2023-2023-122.md) | Mar 6, 2023 |

---

Data as of 2026-11-08T06:59:42Z 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.
