Gnu Emacs vulnerabilities
36 known vulnerabilities affecting gnu/emacs.
Total CVEs
36
CISA KEV
0
Public exploits
2
Exploited in wild
0
Severity breakdown
CRITICAL3HIGH16MEDIUM9LOW8
Vulnerabilities
Page 1 of 2
CVE-2025-1244P2HIGHCVSS 8.8≥ 0, < 1:27.1+1-3.1+deb11u6≥ 0, < 1:28.2+1-15+deb12u4+1 more2025-02-12
CVE-2025-1244 [HIGH] CVE-2025-1244: A command injection flaw was found in the text editor Emacs
A command injection flaw was found in the text editor Emacs. It could allow a remote, unauthenticated attacker to execute arbitrary shell commands on a vulnerable system. Exploitation is possible by tricking users into visiting a specially crafted website or an HTTP URL with a redirect.
osv
CVE-2024-39331P3CRITICALCVSS 9.8fixed in 29.42024-06-23
CVE-2024-39331 [CRITICAL] CWE-94 CVE-2024-39331: In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it
In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.
nvdosv
CVE-2017-14482P3HIGHCVSS 8.8≤ 25.22017-09-14
CVE-2017-14482 [HIGH] CVE-2017-14482: GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Cont
GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type: text/enriched" data containing an x-display XML element that specifies execution of shell commands, related to an unsafe text/enriched extension in lisp/textmodes/enriched.el, and unsafe Gnus support for enriched and richtext inline MIME objects in li
nvd
CVE-2022-48337P3CRITICALCVSS 9.8≤ 28.22023-02-20
CVE-2022-48337 [CRITICAL] CWE-78 CVE-2022-48337: GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of
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 w
nvdosv
CVE-2014-9483P3HIGHCVSS 7.5v24.42017-08-28
CVE-2014-9483 [HIGH] CWE-200 CVE-2014-9483: Emacs 24.4 allows remote attackers to bypass security restrictions.
Emacs 24.4 allows remote attackers to bypass security restrictions.
nvd
CVE-2023-2491P3HIGHCVSS 7.8v26.1-9.el8v27.2-8.el9+1 more2023-05-17
CVE-2023-2491 [HIGH] CWE-77 CVE-2023-2491: A flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the "or
A flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the "org-babel-execute:latex" function in ob-latex.el can result in arbitrary command execution. This CVE exists because of a CVE-2023-28617 security regression for the emacs package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.
nvd
CVE-2003-1232P4MEDIUMCVSS 5.1PoCv21.2.12003-12-31
CVE-2003-1232 [MEDIUM] CVE-2003-1232: Emacs 21.2.1 does not prompt or warn the user before executing Lisp code in the local variables sect
Emacs 21.2.1 does not prompt or warn the user before executing Lisp code in the local variables section of a text file, which allows user-assisted attackers to execute arbitrary commands, as demonstrated using the mode-name variable.
nvd
CVE-2024-30202P3HIGHCVSS 7.8fixed in 29.32024-03-25
CVE-2024-30202 [HIGH] CWE-94 CVE-2024-30202: In Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. This affects
In Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. This affects Org Mode before 9.6.23.
nvdosv
CVE-2012-0035P3CRITICALCVSS 9.3≤ 23.3v20.0+20 more2012-01-19
CVE-2012-0035 [CRITICAL] CVE-2012-0035: Untrusted search path vulnerability in EDE in CEDET before 1.0.1, as used in GNU Emacs before 23.4 a
Untrusted search path vulnerability in EDE in CEDET before 1.0.1, as used in GNU Emacs before 23.4 and other products, allows local users to gain privileges via a crafted Lisp expression in a Project.ede file in the directory, or a parent directory, of an opened file.
nvd
CVE-2024-53920P3HIGHCVSS 7.8fixed in 30.12024-11-27
CVE-2024-53920 [HIGH] CWE-94 CVE-2024-53920: In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (f
In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs Lisp source code can trigger unsafe Lisp macro expansion that allows attackers to execute arbitrary code. (This unsafe expansion also occurs if a user chooses to enable on-the-fly diagnosis that byte compiles untrus
nvdosv
CVE-2022-48338P3HIGHCVSS 7.3≤ 28.22023-02-20
CVE-2022-48338 [HIGH] CWE-77 CVE-2022-48338: An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file funct
An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameter
nvdosv
CVE-2007-5795P4MEDIUMCVSS 6.3PoC≤ 22.12007-11-02
CVE-2007-5795 [MEDIUM] CVE-2007-5795: The hack-local-variables function in Emacs before 22.2, when enable-local-variables is set to :safe,
The hack-local-variables function in Emacs before 22.2, when enable-local-variables is set to :safe, does not properly search lists of unsafe or risky variables, which might allow user-assisted attackers to bypass intended restrictions and modify critical program variables via a file containing a Local variables declaration.
nvd
CVE-2022-48339P3HIGHCVSS 7.8≤ 28.22023-02-20
CVE-2022-48339 [HIGH] CWE-116 CVE-2022-48339: An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerabil
An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.
nvdosv
CVE-2023-28617P3HIGHCVSS 7.8≥ 0, < 1:27.1+1-3.1+deb11u6≥ 0, < 1:28.2+1-142023-03-19
CVE-2023-28617 [HIGH] CVE-2023-28617: org-babel-execute:latex in ob-latex
org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows attackers to execute arbitrary commands via a file name or directory name that contains shell metacharacters.
osv
CVE-2022-45939P3HIGHCVSS 7.8≤ 28.22022-11-28
CVE-2022-45939 [HIGH] CWE-78 CVE-2022-45939: GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of
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
nvdosv
CVE-2023-27985P3HIGHCVSS 7.8≥ 28.1, ≤ 28.22023-03-09
CVE-2023-27985 [HIGH] CWE-78 CVE-2023-27985: emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections throug
emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI. This is related to lack of compliance with the Desktop Entry Specification. It is fixed in 29.0.90
nvdosv
CVE-2005-0100P4HIGHCVSS 7.5≤ 20.0v21.32005-02-07
CVE-2005-0100 [HIGH] CVE-2005-0100: Format string vulnerability in the movemail utility in (1) Emacs 20.x, 21.3, and possibly other vers
Format string vulnerability in the movemail utility in (1) Emacs 20.x, 21.3, and possibly other versions, and (2) XEmacs 21.4 and earlier, allows remote malicious POP3 servers to execute arbitrary code via crafted packets.
nvd
CVE-2023-27986P4HIGHCVSS 7.8≥ 28.1, ≤ 28.22023-03-09
CVE-2023-27986 [HIGH] CWE-94 CVE-2023-27986: emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections thro
emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescaped double-quote characters. It is fixed in 29.0.90.
nvdosv
CVE-2012-3479P4MEDIUMCVSS 6.8v23.2v23.3+2 more2012-08-25
CVE-2012-3479 [MEDIUM] CVE-2012-3479: lisp/files.el in Emacs 23.2, 23.3, 23.4, and 24.1 automatically executes eval forms in local-variabl
lisp/files.el in Emacs 23.2, 23.3, 23.4, and 24.1 automatically executes eval forms in local-variable sections when the enable-local-variables option is set to :safe, which allows user-assisted remote attackers to execute arbitrary Emacs Lisp code via a crafted file.
nvd
CVE-2008-2142P4MEDIUMCVSS 6.8v21.3.12008-05-12
CVE-2008-2142 [MEDIUM] CVE-2008-2142: Emacs 21 and XEmacs automatically load and execute .flc (fast lock) files that are associated with o
Emacs 21 and XEmacs automatically load and execute .flc (fast lock) files that are associated with other files that are edited within Emacs, which allows user-assisted attackers to execute arbitrary code.
nvd
1 / 2Next →