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.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade emacs-commonUpgrade emacs-terminalUpgrade emacs-noxUpgrade emacsUpgrade emacs-lucidUpgrade emacs-filesystem | May 15, 2023 | Feb 20, 2023 |
| Amazon Linux Ami 2 | — | Upgrade emacs-debuginfoUpgrade emacs-commonUpgrade emacs-develUpgrade emacs-lucidUpgrade emacsUpgrade emacs-terminalUpgrade emacs-filesystemUpgrade emacs-nox | Mar 7, 2023 | Feb 20, 2023 |
| Amazon_linux | — | Upgrade emacs | Apr 6, 2023 | Feb 20, 2023 |
| Amazon_linux_2023 | — | Upgrade emacs-lucidUpgrade emacs-develUpgrade emacs-debugsourceUpgrade emacs-debuginfoUpgrade emacs-noxUpgrade emacs-commonUpgrade emacs-nox-debuginfoUpgrade emacs-lucid-debuginfoUpgrade emacs-terminalUpgrade emacs-common-debuginfoUpgrade emacs-filesystemUpgrade emacs | Feb 17, 2025 | Feb 21, 2023 |
| Centos_linux | — | Upgrade emacs-filesystemUpgrade emacs-terminalUpgrade emacsUpgrade emacs-debuginfoUpgrade emacs-elUpgrade emacs-commonUpgrade emacs-nox | May 15, 2023 | Feb 20, 2023 |
| Debian | — | Upgrade emacs | Feb 27, 2023 | Feb 20, 2023 |
| Freebsd | — | Upgrade emacsUpgrade emacs-cannaUpgrade emacs-devel-noxUpgrade emacs-develUpgrade emacs-nox | Feb 28, 2023 | Feb 27, 2023 |
| Gentoo Linux | — | Upgrade app-editors/emacs.Upgrade app-emacs/org-mode. | Jul 3, 2024 | Feb 20, 2023 |
| Huawei Euleros 2_0_sp10 | — | Upgrade emacs-filesystem | May 18, 2023 | Feb 20, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade emacs-filesystem | Jul 5, 2023 | Feb 20, 2023 |
| Huawei Euleros 2_0_sp8 | — | Upgrade emacs-commonUpgrade emacs-noxUpgrade emacs-filesystem | Jan 10, 2024 | Feb 20, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade emacs-filesystem | May 10, 2023 | Feb 20, 2023 |
| Oracle_linux | — | Upgrade emacs-elUpgrade emacs-lucidUpgrade emacs-terminalUpgrade emacs-noxUpgrade emacs-commonUpgrade emacsUpgrade emacs-filesystem | May 17, 2023 | Feb 21, 2023 |
| Redhat_linux | — | No solution existsUpgrade emacsUpgrade emacs-lucid-debuginfoUpgrade emacs-elUpgrade emacs-terminalUpgrade emacs-common-debuginfoUpgrade emacs-nox-debuginfoUpgrade emacs-filesystemUpgrade emacs-commonUpgrade emacs-noxUpgrade emacs-debuginfoUpgrade emacs-debugsourceUpgrade emacs-lucid | May 15, 2023 | Feb 20, 2023 |
| Rocky_linux | — | Upgrade emacs-noxUpgrade emacs-commonUpgrade emacs-lucidUpgrade emacs | Jun 29, 2026 | Jun 25, 2026 |
| Suse | — | Upgrade emacs-noxUpgrade etagsUpgrade emacs-x11Upgrade emacs-infoUpgrade emacsUpgrade emacs-el | Mar 3, 2023 | Feb 20, 2023 |
| Ubuntu | — | Upgrade emacs25-bin-common (Ubuntu Pro)Upgrade emacs25-common (Ubuntu Pro)Upgrade emacsUpgrade emacs25-el (Ubuntu Pro)Upgrade emacs (Ubuntu Pro)Upgrade emacs-el (Ubuntu Pro)Upgrade emacs24-common (Ubuntu Pro)Upgrade emacs-common (Ubuntu Pro)Upgrade emacs-bin-common (Ubuntu Pro)Upgrade emacs-bin-commonUpgrade emacs-commonUpgrade emacs24 (Ubuntu Pro)Upgrade emacs-elUpgrade emacs24-el (Ubuntu Pro)Upgrade emacs25 (Ubuntu Pro)Upgrade emacs24-bin-common (Ubuntu Pro) | Mar 22, 2023 | Feb 20, 2023 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Feb 20, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub