portage-ng / portage / app-editors / emacs / 32.0.50_pre20260831
portage-ng glsa
10 advisories reference app-editors/emacs · none place version 32.0.50_pre20260831 in a vulnerable range
▸ GLSA 202608-21 GNU Emacs: Arbitrary code execution version not in range high local and remote 2026-08-24

A vulnerability has been discovered in GNU Emacs allowing arbitrary code execution.

Announced
2026-08-24
Revised
2026-08-26 (revision 2)
Access
local and remote
Bugs
#981157
Advisory
https://security.gentoo.org/glsa/202608-21

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 27.2-r4:27, < 28.2-r22:28, < 29.4-r10:29, < 30.2-r6:30>= 27.2-r4:27, >= 28.2-r22:28, >= 29.4-r10:29, >= 30.2-r6:30

Background

GNU Emacs is the extensible, customizable, self-documenting real-time display editor.

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

▸ GLSA 202608-18 GNU Emacs: Arbitrary code execution version not in range high remote 2026-08-20

A vulnerability has been discovered in GNU Emacs which could lead to arbitrary code execution.

Announced
2026-08-20
Revised
2026-08-20 (revision 4)
Access
remote
Bugs
#980616
Advisory
https://security.gentoo.org/glsa/202608-18

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 28.2-r21:28, < 29.4-r9:29, < 30.2-r5:30>= 28.2-r21:28, >= 29.4-r9:29, >= 30.2-r5:30, < 28

Background

GNU Emacs is the extensible, customizable, self-documenting real-time display editor.

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"
▸ GLSA 202506-01 GNU Emacs: Multiple Vulnerabilities version not in range high local 2025-06-12

Multiple vulnerabilities have been discovered in GNU Emacs, the worst of which could lead to arbitrary code execution.

Announced
2025-06-12
Revised
2026-08-20 (revision 3)
Access
local
Bugs
#945164 #950192
Advisory
https://security.gentoo.org/glsa/202506-01

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 29.4-r2:29, < 28.2-r16:28, < 27.2-r20:27, < 26.3-r22:26>= 29.4-r2:29, >= 28.2-r16:28, >= 27.2-r20:27, >= 26.3-r22:26

Background

GNU Emacs is the extensible, customizable, self-documenting real-time display editor.

Description

Multiple vulnerabilities have been discovered in GNU Emacs. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-29.4-r2:29"
# emerge --ask --oneshot --verbose ">=app-editors/emacs-28.2-r16:28"
# emerge --ask --oneshot --verbose ">=app-editors/emacs-27.2-r20:27"
# emerge --ask --oneshot --verbose ">=app-editors/emacs-26.3-r22:26"

References

▸ GLSA 202409-19 GNU Emacs, org-mode: Command Execution Vulnerability version not in range high local 2024-09-22

A vulnerability has been found in GNU Emacs and org-mode which could result in arbitrary code execution.

Announced
2024-09-22
Revised
2026-08-20 (revision 2)
Access
local
Bugs
#934736
Advisory
https://security.gentoo.org/glsa/202409-19

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 26.3-r19:26, < 27.2-r17:27, < 28.2-r13:28, < 29.3-r3:29>= 26.3-r19:26, >= 27.2-r17:27, >= 28.2-r13:28, >= 29.3-r3:29
app-emacs/org-mode*< 9.7.5>= 9.7.5

Background

GNU Emacs is the extensible, customizable, self-documenting real-time display editor. org-mode is an Emacs mode for notes and project planning.

Description

%(...) link abbreviations could specify unsafe functions.

Impact

Opening a malicious org-mode file could result in arbitrary code execution.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs users should upgrade to the latest version according to the installed slot, one of:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-26.3-r19:26"

Alternatively:

# emerge --ask --oneshot --verbose ">=app-editors/emacs-27.2-r17:27"
# emerge --ask --oneshot --verbose ">=app-editors/emacs-28.2-r13:28"
# emerge --ask --oneshot --verbose ">=app-editors/emacs-29.3-r3:29"

All org-mode users should upgrade to the latest package:

# emerge --ask --oneshot --verbose ">=app-emacs/org-mode-9.7.5"

References

▸ GLSA 202407-08 GNU Emacs, Org Mode: Multiple Vulnerabilities version not in range high remote 2024-07-01

Multiple vulnerabilities have been discovered in GNU Emacs and Org Mode, the worst of which could lead to arbitrary code execution.

Announced
2024-07-01
Revised
2024-07-01
Access
remote
Bugs
#897950 #927820
Advisory
https://security.gentoo.org/glsa/202407-08

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 26.3-r16:26, < 27.2-r14:27, < 28.2-r10:28, < 29.2-r1:29>= 26.3-r16:26, >= 27.2-r14:27, >= 28.2-r10:28, >= 29.2-r1:29
app-emacs/org-mode*< 9.6.23>= 9.6.23

Background

GNU Emacs is a highly extensible and customizable text editor.

Description

Multiple vulnerabilities have been discovered in GNU Emacs. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-29.3-r2"

All Org Mode users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-emacs/org-mode-9.6.23"

References

▸ GLSA 201801-07 GNU Emacs: Command injection version not in range normal remote 2018-01-07

A vulnerability has been found in Emacs which may allow for arbitrary command execution.

Announced
2018-01-07
Revised
2018-01-08 (revision 2)
Access
remote
Bugs
#630680
Advisory
https://security.gentoo.org/glsa/201801-07

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 23.4-r16:23, < 24.5-r4:24, < 25.2-r1:25>= 23.4-r16:23, >= 24.5-r4:24, >= 25.2-r1:25

Background

GNU Emacs is a highly extensible and customizable text editor.

Description

A command injection flaw within the Emacs “enriched mode” handling has been discovered.

Impact

A remote attacker, by enticing a user to open a specially crafted file, could execute arbitrary commands with the privileges of process.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs 23.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-23.4-r16:23"

All GNU Emacs 24.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-24.5-r4:24"

All GNU Emacs 25.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-25.2-r1:25"

References

▸ GLSA 201403-05 GNU Emacs: Multiple vulnerabilities this version unaffected normal remote 2014-03-20

Two vulnerabilities have been found in GNU Emacs, possibly leading to user-assisted execution of arbitrary code.

Announced
2014-03-20
Revised
2014-03-20
Access
remote
Bugs
#398239 #431178
Advisory
https://security.gentoo.org/glsa/201403-05

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 24.1-r1>= 24.1-r1, >= 23.4-r4 (revision), < 23.2

Background

GNU Emacs is a highly extensible and customizable text editor.

Description

Multiple vulnerabilities have been discovered in GNU Emacs:

  • When ‘global-ede-mode’ is enabled, EDE in Emacs automatically loads a Project.ede file from the project directory (CVE-2012-0035).
  • When ‘enable-local-variables’’ is set to ‘:safe’, Emacs automatically processes eval forms (CVE-2012-3479).

Impact

A remote attacker could entice a user to open a specially crafted file, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs 24.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-24.1-r1"

All GNU Emacs 23.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-23.4-r4"

References

▸ GLSA 200902-06 GNU Emacs, XEmacs: Multiple vulnerabilities this version unaffected normal remote 2009-02-23

Two vulnerabilities were found in GNU Emacs, possibly leading to user-assisted execution of arbitrary code. One also affects edit-utils in XEmacs.

Announced
2009-02-23
Revised
2009-02-23
Access
remote
Bugs
#221197 #236498
Advisory
https://security.gentoo.org/glsa/200902-06

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 22.2-r3>= 22.2-r3, >= 21.4-r17 (revision), < 19
app-xemacs/edit-utils*< 2.39>= 2.39

Background

GNU Emacs and XEmacs are highly extensible and customizable text editors. edit-utils are miscellaneous extensions to XEmacs.

Description

Morten Welinder reports about GNU Emacs and edit-utils in XEmacs: By shipping a .flc accompanying a source file (.c for example) and setting font-lock-support-mode to fast-lock-mode in the source file through local variables, any Lisp code in the .flc file is executed without warning (CVE-2008-2142).

Romain Francoise reported a security risk in a feature of GNU Emacs related to interacting with Python. The vulnerability arises because Python, by default, prepends the current directory to the module search path, allowing for arbitrary code execution when launched from a specially crafted directory (CVE-2008-3949).

Impact

Remote attackers could entice a user to open a specially crafted file in GNU Emacs, possibly leading to the execution of arbitrary Emacs Lisp code or arbitrary Python code with the privileges of the user running GNU Emacs or XEmacs.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-22.2-r3"

All edit-utils users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-xemacs/edit-utils-2.39"

References

▸ GLSA 200712-03 GNU Emacs: Multiple vulnerabilities this version unaffected normal remote 2007-12-09

Two vulnerabilities were found in GNU Emacs possibly leading to the execution of arbitrary code.

Announced
2007-12-09
Revised
2007-12-09
Access
remote
Bugs
#197958 #200297
Advisory
https://security.gentoo.org/glsa/200712-03

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 22.1-r3>= 22.1-r3, >= 21.4-r14 (revision), < 19

Background

GNU Emacs is a highly extensible and customizable text editor.

Description

Drake Wilson reported that the hack-local-variables() function in GNU Emacs 22 does not properly match assignments of local variables in a file against a list of unsafe or risky variables, allowing to override them (CVE-2007-5795). Andreas Schwab (SUSE) discovered a stack-based buffer overflow in the format function when handling values with high precision (CVE-2007-6109).

Impact

Remote attackers could entice a user to open a specially crafted file in GNU Emacs, possibly leading to the execution of arbitrary Emacs Lisp code (via CVE-2007-5795) or arbitrary code (via CVE-2007-6109) with the privileges of the user running GNU Emacs.

Workaround

The first vulnerability can be worked around by setting the "enable-local-variables" option to "nil", disabling the processing of local variable lists. GNU Emacs prior to version 22 is not affected by this vulnerability. There is no known workaround for the second vulnerability at this time.

Resolution

All GNU Emacs users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-22.1-r3"

References

▸ GLSA 200502-20 GNU Emacs, XEmacs: Format string vulnerabilities in movemail this version unaffected normal remote 2005-02-15

The movemail utility shipped with GNU Emacs and XEmacs contains several format string vulnerabilities, potentially leading to the execution of arbitrary code.

Announced
2005-02-15
Revised
2026-08-20 (revision 3)
Access
remote
Bugs
#79686
Advisory
https://security.gentoo.org/glsa/200502-20

Affected packages

PackageArchVulnerableUnaffected
app-editors/emacs*< 21.4>= 21.4, < 19
app-editors/xemacs*< 21.4.15-r3>= 21.4.15-r3

Background

GNU Emacs and XEmacs are highly extensible and customizable text editors. movemail is an Emacs utility that can fetch mail on remote mail servers.

Description

Max Vozeler discovered that the movemail utility contains several format string errors.

Impact

An attacker could set up a malicious POP server and entice a user to connect to it using movemail, resulting in the execution of arbitrary code with the rights of the victim user.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/emacs-21.4"

All XEmacs users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/xemacs-21.4.15-r3"

References