Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-48337

30
FAUCET Score

CVE-2022-48337 is a critical command injection vulnerability in GNU Emacs through version 28.2, specifically within the etags program's use of the system C library function. This flaw allows attackers to execute arbitrary commands by crafting source-code filenames containing shell metacharacters, particularly when a victim uses commands like "etags -u *" in an untrusted directory. With a CVSS score of 9.8 (CRITICAL), this vulnerability presents a severe risk due to its network-based attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. While there is no evidence of active exploitation, nor publicly available exploit code in Metasploit or ExploitDB, the vulnerability has garnered some community discussion, indicating awareness within security circles.

Impacted Technologies

VendorProductVersion(s)CPE
<= 28.2CPE matchmatch criteria
cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*
11.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.60%
Probability of exploitation in next 30 days
EPSS Percentile
73.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0160 is in the 61st percentile among its peer group of 36,833 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (9)

microsoftpatch availablevia msrc
Product: cbl2 emacs 28.2-4 on CBL Mariner 2.0Fixed in: 28.2-4
microsoftpatch availablevia msrc
Product: 18397-16823Fixed in: 28.2-4
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 x64Fixed in: 28.2-4
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 ARMFixed in: 28.2-4
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.8 Extended Update SupportFixed in: emacs-1:26.1-10.el8_8.4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: emacs-1:27.2-8.el9_2.1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: emacs-1:26.1-11.el8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Extended Update SupportFixed in: emacs-1:26.1-7.el8_6.3
View patch
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: emacs

Vendor Advisories (3)

microsoft2023-Mar/CVE-2022-48337

CVE-2022-48337

Mar 14, 2023
redhatCVE-2022-48337Moderate

emacs: command execution via shell metacharacters

Feb 21, 2023
microsoft2023-Feb/CVE-2022-48337Critical

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

Feb 14, 2023

References

git.savannah.gnu.org / cgit/emacs.git/commit
Patch
lists.debian.org / debian-lts-announce/2023/05/msg00008.html
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK
debian.org / security/2023/dsa-5360
Third Party Advisory