Live threats

All CVEs / Gnu

CVE-2022-48338Gnu Emacs

High 7.3

Priority
44
CVSS 3.1
7.3
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
Yes
Published
Feb 20, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.

Original NVD text.

What to do

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

Affected products (CPE)

VendorProductVersions
gnuemacs≤ 28.2

Official sources

References

Links published by the sources. Open them with care.