Live threats

All CVEs / Gnu

CVE-2022-48337Gnu Emacs

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Feb 20, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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 etags program. For example, a victim may use the "etags -u *" command (suggested in the etags 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.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnuemacs≤ 28.2
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.