CVE-2022-48339Gnu Emacs
High 7.8
Follow: this CVE · Gnu · Gnu Emacs We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- Yes
- Published
- Feb 20, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Emacs.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | emacs | ≤ 28.2 |
Official sources
References
Links published by the sources. Open them with care.
- git.savannah.gnu.org Patch
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.debian.org Third Party Advisory