CVE-2022-45939: debian debian_linux OS Command Injection
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.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 28-11-2022PublishedVulnerability first disclosed.
- 28-04-2025Last 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- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected 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
- fedoraEOL36 | 37
Gnu1 product
- emacs≤ 28.2
Mageia1 product
- emacs< 27.1-1.2.mga8
8 vendors · 56 products
References
32 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory