7.8

CVE-2022-45939: debian debian_linux OS Command Injection

CVSS: 7.8v3.1HighModified
AliasesMGASA-2022-0457SUSE-SU-2022:4304-1SUSE-SU-2022:4305-1
Published 28-11-2022Last modified 28-04-2025

Vulnerability summary

CVE-2022-45939 is a high (CVSS 7.8) OS Command Injection vulnerability in debian debian_linux. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 50.6% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.66%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 28-11-2022
    PublishedVulnerability first disclosed.
  2. 28-04-2025
    Last modifiedVulnerability information updated.

Description

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 ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

0.00 pp

From 0.66% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.66%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse31 products
  • emacs&distro=SUSE Enterprise Storage 6< 25.3-150000.3.12.1
  • emacs&distro=SUSE Enterprise Storage 7< 25.3-150000.3.12.1
  • emacs&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 25.3-150000.3.12.1
  • emacs&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 25.3-150000.3.12.1
  • emacs&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 25.3-150000.3.12.1
Redhat11 products
  • emacs< 1:27.2-8.el9 | < 1:26.1-9.el8
  • emacs-common< 1:27.2-8.el9 | < 1:26.1-9.el8
  • emacs-common-debuginfo< 1:27.2-8.el9 | < 1:26.1-9.el8
  • emacs-debuginfo< 1:27.2-8.el9 | < 1:26.1-9.el8
  • emacs-debugsource< 1:27.2-8.el9 | < 1:26.1-9.el8
Ubuntu5 products
  • emacs< 1:26.3+1-1ubuntu2+esm1 | < 1:27.1+1-3ubuntu5.2
  • emacs24< 24.5+1-6ubuntu1.1+esm1
  • emacs25< 25.2+1-6ubuntu0.1~esm2
  • xemacs21All versions (No fix recorded)
  • xemacs21-packagesAll versions (No fix recorded)
Debian3 products
  • emacs< 1:27.1+1-3.1+deb11u1 | < 1:26.1+1-3.2+deb10u3 | < 1:28.2+1-8
  • xemacs21< 21.4.24-11
  • debian_linuxEOL10.0 | 11.0
Opensuse3 products
  • emacs&distro=openSUSE Leap 15.3< 25.3-150000.3.12.1
  • emacs&distro=openSUSE Leap 15.4< 27.2-150400.3.3.1
  • emacs&distro=openSUSE Tumbleweed< 28.2-1.1
Fedoraproject1 product
Gnu1 product
Mageia1 product
  • emacs< 27.1-1.2.mga8

8 vendors · 56 products

References

32 links
Show all 32 references