CVE-2022-45939 - CVE House
Back to Database
Status published Unknown CVE-2022-45939

GNU Emacs through 28.2 allows attackers to execute commands via...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-45939

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

emacs, debian linux, fedora
Vulnerable Versions:
0, 10.0, 11.0, 36, 37

Timeline

Official Publish: November 28th, 2022
Last Modified: April 28th, 2025
Added to House: July 21st, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.