CVE-2022-48339
published high CVSS 3.1 · 7.8emacs: command injection vulnerability in htmlfontify.el
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 | 7 | emacsaarch64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacsppc64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| 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 | 7 | emacsx86_64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-commonaarch64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-commonx86_64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-elaarch64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-elx86_64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-filesystemaarch64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-filesystemx86_64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-noxaarch64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-noxx86_64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-terminalaarch64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 7 | emacs-terminalx86_64 | Advisory build | 1:24.3-23.el7_9.1 | ELSA-2023-3481 |
| Oracle Linux | 8 | emacsaarch64 | Advisory build | 1:26.1-11.el8 | ELSA-2023-7083 |
| 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-7 | emacsppc64le | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacss390x | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacssrc | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacsx86_64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-commonppc64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-commonppc64le | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-commons390x | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-commonx86_64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-debuginfoppc64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-debuginfoppc64le | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-debuginfos390x | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-debuginfox86_64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-elnoarch | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-filesystemnoarch | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-noxppc64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-noxppc64le | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-noxs390x | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-noxx86_64 | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-terminalnoarch | Advisory build | 1:24.3-23.el7_9.1 | RHSA-2023:3481 |
| Red Hat Enterprise Linux | RHEL-8 | emacsaarch64 | Advisory build | 1:26.1-10.el8_8.4 | RHSA-2024:1408 |
| 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 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.
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
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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-1116 CWE-1116 Inaccurate Comments
References
5- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1b4dc4691c1f87fc970fbe568b43869a15ad0d4c
- [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
- b2fa613e33ffbea20d14885728be178908631b5357694f129bd726bd29cc4e39
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record