7.3

CVE-2022-48338: gnu emacs

Modified
AliasesUBUNTU-CVE-2022-48338DEBIAN-CVE-2022-48338
Published 20-02-2023Last modified 18-03-2025

Vulnerability summary

CVE-2022-48338 is a high (CVSS 7.3) vulnerability in gnu emacs. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 77.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.3/10
010
High · v3.1 (CVE.org)
EPSS score
1.68%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 3

Timeline

  1. 20-02-2023
    PublishedVulnerability first disclosed.
  2. 18-03-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.68%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 1.64% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • emacs< 1:27.1+1-3ubuntu5.2
  • xemacs21All versions (No fix recorded)
  • xemacs21-packagesAll versions (No fix recorded)
Debian1 product
  • emacs< 1:28.2+1-11
Gnu1 product

3 vendors · 5 products

References

9 links