GLSA 202608-18: GNU Emacs: Arbitrary code execution
| Severity: | high |
| Title: | GNU Emacs: Arbitrary code execution |
| Date: | 08/20/2026 |
| Bugs: | |
| ID: | 202608-18 |
Synopsis
A vulnerability has been discovered in GNU Emacs which could lead to 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 | < 28.2-r21 | >= 28.2-r21 | 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 with malicious content. No other action by the user is required.
Workaround
Avoid opening any untrusted files.
Resolution
All GNU Emacs 28 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-28.2-r21:28"
All GNU Emacs 29 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-29.4-r9:29"
All GNU Emacs 30 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-30.2-r5: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.