vulnerability

Gentoo Linux: CVE-2022-48338: GNU Emacs, Org Mode: Multiple Vulnerabilities

Severity
7
CVSS
(AV:L/AC:M/Au:S/C:C/I:C/A:C)
Published
Feb 20, 2023
Added
Jul 3, 2024
Modified
Mar 31, 2026

Description

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.

Solutions

gentoo-linux-upgrade-app-editors-emacsgentoo-linux-upgrade-app-emacs-org-mode
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.