Skip to content
OpenAdvisories
High · 7.8 CVE-2026-108976 EUVD-2026-97124GHSA-f2f9-wp9v-23mf

GNU Emacs before 31.2 (and TRAMP through 2.8.2) allows OS command injection via a filename because tramp-user-regexp has an incomplete list…

Published Oct 11, 2026 · Updated Oct 15, 2026 · Assigned by mitre

Description

GNU Emacs before 31.2 (and TRAMP through 2.8.2) allows OS command injection via a filename because tramp-user-regexp has an incomplete list of disallowed inputs. NOTE: this issue exists because of an incomplete fix for CVE-2026-79992.

Affected products

VendorProductAffectedFixed
GNU Emacs < 31.2 31.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 emacs +2 No fix yet —
Ubuntu 26.04 LTS xemacs21 +1 No fix yet —
Ubuntu 24.04 LTS xemacs21 +1 No fix yet —
Ubuntu 22.04 LTS xemacs21 +1 No fix yet —
Ubuntu 20.04 LTS xemacs21 +1 No fix yet —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS xemacs21 +1 No fix yet —
Ubuntu 16.04 LTS xemacs21 +1 No fix yet —
Ubuntu Pro 26.04 LTS emacs No fix yet —
Ubuntu Pro 24.04 LTS emacs No fix yet —
Ubuntu Pro 22.04 LTS emacs No fix yet —
Ubuntu Pro 20.04 LTS emacs No fix yet —
Ubuntu Pro 18.04 LTS emacs25 No fix yet —
Ubuntu Pro 16.04 LTS emacs24 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
SLES 15 SP6 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
SLES 15 SP5 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
SLES 15 SP4 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
SLES for SAP 15 SP5 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
SLES for SAP 15 SP4 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
SLE HPC 15 SP5 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1
SLE HPC 15 SP4 emacs 27.2-150400.3.37.1 SUSE-SU-2026:4893-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 emacs +6 1:28.2-3.amzn2023.0.13 ALAS2023-2026-3338
Amazon Linux 2 emacs +6 1:27.2-4.amzn2.0.10 ALAS2-2026-4046

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 emacs No fix yet —

Advisories 4

References