CVE-2022-45939
HIGH7.8EPSS 0.05%emacs - security update
Published: 11/28/2022Modified: 4/28/2026
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 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 packages (4)
- Debian/emacsfrom 0, < 1:27.1+1-3.1+deb11u1
- Debian/emacsfrom 0, < 1:26.1+1-3.2+deb10u3
- Debian/emacsfrom 0, < 1:27.1+1-3.1+deb11u1
- Debian/xemacs21from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |