CVE-2022-48337
published critical CVSS 3.1 · 9.8emacs: command execution via shell metacharacters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1981 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-122 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | emacs | Advisory build | 1:26.1-11.el8 | ALSA-2023:7083 |
| Debian | bullseye | emacs | Advisory build | 1:27.1+1-3.1+deb11u2 | DSA-5360-1 |
| Oracle Linux | 8 | emacsaarch64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacsaarch64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| AlmaLinux | 8 | emacs-common | Advisory build | 1:26.1-11.el8 | ALSA-2023:7083 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | emacs-filesystem | Advisory build | 1:26.1-11.el8 | ALSA-2023:7083 |
| AlmaLinux | 8 | emacs-lucid | Advisory build | 1:26.1-11.el8 | ALSA-2023:7083 |
| AlmaLinux | 8 | emacs-nox | Advisory build | 1:26.1-11.el8 | ALSA-2023:7083 |
| AlmaLinux | 8 | emacs-terminal | Advisory build | 1:26.1-11.el8 | ALSA-2023:7083 |
| AlmaLinux | 9 | emacs | Advisory build | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux | 9 | emacs-common | Advisory build | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux | 9 | emacs-filesystem | Advisory build | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux | 9 | emacs-lucid | Advisory build | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux | 9 | emacs-nox | Advisory build | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| Debian | buster | emacs | Advisory build | 1:26.1+1-3.2+deb10u4 | DLA-3416-1 |
| Oracle Linux | 8 | emacsx86_64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-commonaarch64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-commonx86_64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-filesystemaarch64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-filesystemx86_64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-lucidaarch64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-lucidx86_64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-noxaarch64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-noxx86_64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-terminalaarch64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 8 | emacs-terminalx86_64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| Oracle Linux | 9 | emacsaarch64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacsaarch64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacsx86_64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacsx86_64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-commonaarch64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-commonaarch64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-commonx86_64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-commonx86_64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-filesystemaarch64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-filesystemaarch64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-filesystemx86_64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-filesystemx86_64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-lucidaarch64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-lucidaarch64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-lucidx86_64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-lucidx86_64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-noxaarch64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-noxaarch64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-noxx86_64 | Advisory build | 1:27.2-8.el9 | ELSA-2023-2626 |
| Oracle Linux | 9 | emacs-noxx86_64 | Advisory build | 1:27.2-8.el9_2.1 | ELSA-2023-2626 |
| Red Hat Enterprise Linux | RHEL-8 | emacsaarch64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacsaarch64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacsppc64le | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacsppc64le | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacsppc64le | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacss390x | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacss390x | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacss390x | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacssrc | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacssrc | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacssrc | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacsx86_64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacsx86_64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacsx86_64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonaarch64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonaarch64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonaarch64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonppc64le | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonppc64le | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonppc64le | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commons390x | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commons390x | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commons390x | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonx86_64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonx86_64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-commonx86_64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfoaarch64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfoaarch64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfoaarch64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfoppc64le | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfoppc64le | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfoppc64le | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfos390x | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfos390x | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfos390x | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfox86_64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfox86_64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-common-debuginfox86_64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfoaarch64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfoaarch64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfoaarch64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfoppc64le | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfoppc64le | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfoppc64le | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfos390x | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfos390x | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfos390x | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfox86_64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfox86_64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debuginfox86_64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debugsourceaarch64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debugsourceaarch64 | Advisory build | 1:26.1-11.el8 | RHSA-2023:7083 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debugsourceaarch64 | Advisory build | 1:26.1-7.el8_6.3 | RHSA-2024:1103 |
| Red Hat Enterprise Linux | RHEL-8 | emacs-debugsourceppc64le | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
5- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=01a4035c869b91c153af9a9132c87adb7669ea1c
- [debian-lts-announce] 20230509 [SECURITY] [DLA 3416-1] emacs security update https://lists.debian.org/debian-lts-announce/2023/05/msg00008.html
- FEDORA-2023-29df561f1d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/
- FEDORA-2023-5763445abe https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/
- DSA-5360 https://www.debian.org/security/2023/dsa-5360
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6eb34bc16dc14aa66f8e0c4c256b04978cfd7c9f0763ff73725acca9986b57b4
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record