Home / mailings [gentoo-announce] [ GLSA 202608-18 ] Emacs: Arbitrary code execution
Posted on 20 August 2026
Gentoo-announce- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202608-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: Emacs: Arbitrary code execution
Date: August 20, 2026
Bugs: #980616
ID: 202608-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A vulnerability has been discovered in Emacs which could lead to
arbitrary code execution.
Background
==========
Emacs is the extensible, customizable, self-documenting real-time
display editor. org-mode is an Emacs mode for notes and project
planning.
Affected packages
=================
Package Vulnerable Unaffected
----------------- ------------- --------------
app-editors/emacs < 28.2-r21:28 >= 28.2-r21:28
< 29.4-r9:29 >= 29.4-r9:29
< 30.2-r5:30 >= 30.2-r5:30
< 28.2-r21 >= 28.2-r21
Description
===========
A vulnerability has been discovered in 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 Emacs 28 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-28.2-r21:28"
All Emacs 29 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-29.4-r9:29"
All 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:
https://security.gentoo.org/glsa/202608-18
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 2026 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.
https://creativecommons.org/licenses/by-sa/2.5
--===============0348228851145217358==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
