GNU Emacs
Last updated
An extensible, customizable, free/libre text editor - and more.
Install with winget
$ winget install --id GNU.Emacs --exact --version 31.1Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
Silent install command for GNU Emacs
GNU Emacs uses EXE (NSIS). The silent install switches are /S.
emacs-31.1-installer-UCRT64.exe /S
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
Installers · v31.1
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x64 | EXE NSIS | machine | Direct |
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
13 known CVEs via NVD
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...
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.
In Emacs before 29.3, Org mode considers contents of remote files to be trusted. This affects Org Mode before 9.6.23.
In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.
In Emacs before 29.3, Gnus treats inline MIME contents as trusted.
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.
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...
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.
See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.
Related apps
More from GNU Project or browse emacs, gnu, text-editor.
Frequently asked questions
How do I install GNU Emacs on Windows?
How do I install GNU Emacs silently for unattended deployment?
What are the silent install switches for GNU Emacs?
How do I uninstall GNU Emacs via winget?
Is GNU Emacs free?
Does GNU Emacs work on Windows 10?
How do I keep GNU Emacs up to date?
Recent versions
- 31.1latest
- 30.2
- 30.1
- 29.4
- 29.3
- 29.2
- 29.1
- 28.2
- 28.1
- 27.2