GLSA 202608-21: GNU Emacs: Arbitrary code execution
| Severity: | high |
| Title: | GNU Emacs: Arbitrary code execution |
| Date: | 08/24/2026 |
| Bugs: | |
| ID: | 202608-21 |
Synopsis
A vulnerability has been discovered in GNU Emacs allowing arbitrary code execution.Background
GNU Emacs is the extensible, customizable, self-documenting real-time display editor.
Affected packages
| Package | Vulnerable | Unaffected | Architecture(s) |
|---|---|---|---|
| app-editors/emacs | < 27.2-r4 | >= 27.2-r4 | All supported architectures |
Description
A vulnerability has been discovered in GNU Emacs. Please review the CVE identifier referenced below for details.
Impact
An attacker could achieve arbitrary code execution by tricking a user into opening a file or directory with a malicious filename via TRAMP.
Workaround
There is no known workaround at this time.
Resolution
All GNU Emacs 27 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-27.2-r4:27"
All GNU Emacs 28 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-28.2-r22:28"
All GNU Emacs 29 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-29.4-r10:29"
All GNU Emacs 30 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-30.2-r6:30"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.