CVE-2022-48338
emacs: local command injection in ruby-mode.el
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 21, 2023
Updated · January 22, 2026
Description
A flaw was found in the Emacs package. A malicious ruby source file may cause a local command injection.
Statement
This vulnerability is only triggered when a local user runs Emacs with untrusted input. For this reason, this flaw has been rated with a Moderate security impact.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')