CVE-2022-45939: debian debian_linux
Vulnerability summary
CVE-2022-45939 is a high (CVSS 7.8) vulnerability in debian debian_linux. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 54.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
6 scores · 6 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
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.67% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
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:26.1+1-3.2+deb10u3 | < 1:27.1+1-3.1+deb11u1 | < 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
Alpine1 product
- emacs< 28.2-r1 | < 28.2-r3
Fedoraproject1 product
- fedoraEOL36 | 37
Gnu1 product
- emacs≤ 28.2
Mageia1 product
- emacs< 27.1-1.2.mga8
9 vendors · 57 products
References
33 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory