CVE-2022-45939: Debian Linux
High severity, CVSS 7.8. EPSS: 0.7% chance of exploitation in the next 30 days.
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 ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.
Affected products
- Debian Debian Linux: version 10.0 only; version 11.0 only
- Fedoraproject Fedora: version 36 only; version 37 only
- GNU Emacs: up to and including 28.2
Published 2022-11-28. Last modified 2026-06-17.