VDB

CVE-2022-48337

CVE-2022-48337 PUBLISHED CVSS 9.8 CRITICAL

Reported by mitre · Published February 20, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
emacs-noxAmazon Linux1:28.2-3.amzn2023.0.3, 1:27.2-4.amzn2.0.3
emacs-nox-debuginfoerrata.rockylinux.org26.1-11.el8.aarch64
emacs-terminalerrata.rockylinux.org26.1-11.el8.noarch
emacs-debuginfoerrata.rockylinux.org26.1-11.el8.aarch64
emacs-develAmazon Linux1:28.2-3.amzn2023.0.3
emacserrata.rockylinux.org26.1-11.el8.x86, 26.1-11.el8.src
emacs-filesystemerrata.rockylinux.org26.1-11.el8.noarch
emacsAmazon Linux1:28.2-3.amzn2023.0.3
emacs-terminalAmazon Linux1:28.2-3.amzn2023.0.3
emacs-luciderrata.rockylinux.org26.1-11.el8.aarch64
emacsgnu28.2

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
amazon:2023emacs-nox0
amazon:2023emacs-devel0
amazon:2023emacs0
amazon:2023emacs-terminal0
amazon:2emacs-nox0
n/an/a*
amazon:2023emacs-common0
amazon:2emacs-filesystem0
amazon:2023emacs-filesystem0
amazon:2emacs-common0
amazon:2023emacs-lucid0
amazon:2emacs-terminal0
amazon:2emacs0
amazon:2emacs-lucid0
amazon:2emacs-devel0

Timeline

  • Feb 20, 2023 CVE Published
  • Feb 21, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 18, 2025 CVE Updated
  • Mar 10, 2026 Distribution Patch (53 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (56 in total, the first dated here)
  • May 24, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-48337
vulnetix vdb fixes CVE-2022-48337

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-48337/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›