Skip to content
OpenAdvisories
Unscored CVE-2017-14482 EUVD-2017-5985GHSA-2v7h-5r83-vh8r

GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type: text/enriched" data containin…

Published Sep 14, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type: text/enriched" data containing an x-display XML element that specifies execution of shell commands, related to an unsafe text/enriched extension in lisp/textmodes/enriched.el, and unsafe Gnus support for enriched and richtext inline MIME objects in lisp/gnus/mm-view.el. In particular, an Emacs user can be instantly compromised by reading a crafted email message (or Usenet news article).

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
Debian 9 emacs24 24.5+1-11+deb9u1 DSA-3970-1
Debian 9 emacs25 25.1+1-4+deb9u1 DSA-3975-1
Debian 8 emacs24 24.4+1-5+deb8u1 DSA-3970-1
Debian 7 emacs23 23.4+1-4+deb7u1 DLA-1101-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS emacs24 24.5+1-6ubuntu1.1 USN-3427-1
Ubuntu 14.04 LTS emacs24 24.3+1-2ubuntu1.1 USN-3427-1
ReleasePackageFixed inAdvisory
RHEL 7 emacs +5 1:24.3-20.el7_4 RHSA-2017:2771
ReleasePackageFixed inAdvisory
SLES 12 SP3 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SLES 12 SP2 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SLES 12 SP1 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SLES 12 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SLES 11 SP4 emacs 22.3-42.3.1 SUSE-SU-2017:2532-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP3 emacs 22.3-42.3.1 SUSE-SU-2017:2532-1
SLES for SAP 12 SP3 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SLES for SAP 12 SP2 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SLES for SAP 12 SP1 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SLES for SAP 11 SP4 emacs 22.3-42.3.1 SUSE-SU-2017:2532-1
SUSE OpenStack Cloud 6 emacs 24.3-25.3.1 SUSE-SU-2017:2529-1
SUSE Linux Enterprise Point of Sale 11 SP3 emacs 22.3-42.3.1 SUSE-SU-2017:2532-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 emacs +5 1:24.3-20.el7_4 ELSA-2017-2771

Advisories 8

References