Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-45939

published high CVSS 3.1 · 7.8

emacs: ctags local command execution vulnerability

Title from Red Hat VEX

Published
28 Nov 2022, 00:00:00 UTC
Updated
28 Apr 2025, 18:12:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2023-1928 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-108 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 emacs Advisory build 1:26.1-9.el8 ALSA-2023:3042
Alpine Linux edge emacs Fixed 28.2-r3 Package fix record
Debian bullseye emacs Advisory build 1:27.1+1-3.1+deb11u1 DSA-5314-1
Oracle Linux 8 emacsaarch64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Red Hat Enterprise Linux RHEL-8 emacsaarch64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 emacs-common Advisory build 1:26.1-9.el8 ALSA-2023:3042
AlmaLinux 8 emacs-filesystem Advisory build 1:26.1-9.el8 ALSA-2023:3042
AlmaLinux 8 emacs-lucid Advisory build 1:26.1-9.el8 ALSA-2023:3042
AlmaLinux 8 emacs-nox Advisory build 1:26.1-9.el8 ALSA-2023:3042
AlmaLinux 8 emacs-terminal Advisory build 1:26.1-9.el8 ALSA-2023:3042
AlmaLinux 9 emacs Advisory build 1:27.2-8.el9 ALSA-2023:2366
AlmaLinux 9 emacs-common Advisory build 1:27.2-8.el9 ALSA-2023:2366
AlmaLinux 9 emacs-filesystem Advisory build 1:27.2-8.el9 ALSA-2023:2366
AlmaLinux 9 emacs-lucid Advisory build 1:27.2-8.el9 ALSA-2023:2366
AlmaLinux 9 emacs-nox Advisory build 1:27.2-8.el9 ALSA-2023:2366
Alpine Linux v3.17 emacs Fixed 28.2-r1 Package fix record
Alpine Linux v3.18 emacs Fixed 28.2-r3 Package fix record
Alpine Linux v3.19 emacs Fixed 28.2-r3 Package fix record
Alpine Linux v3.20 emacs Fixed 28.2-r3 Package fix record
Alpine Linux v3.21 emacs Fixed 28.2-r3 Package fix record
Alpine Linux v3.22 emacs Fixed 28.2-r3 Package fix record
Alpine Linux v3.23 emacs Fixed 28.2-r3 Package fix record
Alpine Linux v3.24 emacs Fixed 28.2-r3 Package fix record
Debian buster emacs Advisory build 1:26.1+1-3.2+deb10u3 DLA-3257-1
Oracle Linux 8 emacsx86_64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-commonaarch64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-commonx86_64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-filesystemaarch64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-filesystemx86_64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-lucidaarch64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-lucidx86_64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-noxaarch64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-noxx86_64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-terminalaarch64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 8 emacs-terminalx86_64 Advisory build 1:26.1-9.el8 ELSA-2023-3042
Oracle Linux 9 emacsaarch64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacsx86_64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-commonaarch64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-commonx86_64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-filesystemaarch64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-filesystemx86_64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-lucidaarch64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-lucidx86_64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-noxaarch64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Oracle Linux 9 emacs-noxx86_64 Advisory build 1:27.2-8.el9 ELSA-2023-2366
Red Hat Enterprise Linux RHEL-8 emacsaarch64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacsppc64le Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacsppc64le Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacss390x Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacss390x Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacssrc Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacssrc Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacsx86_64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacsx86_64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-commonaarch64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-commonaarch64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-commonppc64le Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-commonppc64le Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-commons390x Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-commons390x Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-commonx86_64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-commonx86_64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfoaarch64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfoaarch64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfoppc64le Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfoppc64le Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfos390x Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfos390x Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfox86_64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-common-debuginfox86_64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debuginfoaarch64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debuginfoaarch64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debuginfoppc64le Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debuginfoppc64le Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debuginfos390x Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debuginfos390x Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debuginfox86_64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debuginfox86_64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debugsourceaarch64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debugsourceaarch64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debugsourceppc64le Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debugsourceppc64le Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debugsources390x Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debugsources390x Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-debugsourcex86_64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-debugsourcex86_64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-filesystemnoarch Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-filesystemnoarch Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-lucidaarch64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-lucidaarch64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-lucidppc64le Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-lucidppc64le Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-lucids390x Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-lucids390x Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-lucidx86_64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-lucidx86_64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-lucid-debuginfoaarch64 Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-lucid-debuginfoaarch64 Advisory build 1:26.1-9.el8 RHSA-2023:3042
Red Hat Enterprise Linux RHEL-8 emacs-lucid-debuginfoppc64le Advisory build 1:26.1-7.el8_6.3 RHSA-2024:1103
Red Hat Enterprise Linux RHEL-8 emacs-lucid-debuginfoppc64le Advisory build 1:26.1-9.el8 RHSA-2023:3042

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

36

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

2
  • n/a (mitre · cna)
  • CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CISA-ADP · adp)

References

5

Provider assertions

3

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
21a40fb2b60811225538525be2f79e1c02741678bc5eaea4179fca619f6c77b6
Ingested
23 Sep 2026, 08:03:28 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected