Live threats

All CVEs / Gnu

CVE-2022-45939Gnu Emacs

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
Yes
Published
Nov 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
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

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Emacs.

Affected products (CPE)

VendorProductVersions
gnuemacs≤ 28.2
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora36
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.