cve.bz

CVE-2017-14482

8.8 highEPSS 4.0%Fix available

High (8.8). EPSS 4.0% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
4.0% (unchanged from 4.0% a week ago; 4.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-14482 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-14482?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-14482?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-14482 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:emacsthrough 25.2
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7emacs2323.4+1-4+deb7u1DLA-1101-1
Debian8emacs2424.4+1-5+deb8u1DSA-3970-1
Debian9emacs2424.5+1-11+deb9u1DSA-3970-1
Debian9emacs2525.1+1-4+deb9u1DSA-3975-1
Ubuntu14.04:LTSemacs2424.3+1-2ubuntu1.1UBUNTU-CVE-2017-14482 USN-3427-1
Ubuntu16.04:LTSemacs2424.5+1-6ubuntu1.1UBUNTU-CVE-2017-14482 USN-3427-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreemacs, emacs-el, emacs-nox and 4 more1:24.3-20.el7_4RHSA-2017:2771
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 8 moreemacs24.3-25.3.1SUSE-SU-2017:2529-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 3 moreemacs22.3-42.3.1SUSE-SU-2017:2532-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

This issue can be mitigated by adding the following lines to the Emacs init file (for example ~/.emacs, ~/emacs.d/init.el, site-start.el) and avoiding options that would bypass normal initialization, like 'emacs -Q':

;; Mitigate CVE-2017-14482 in Emacs 25.2 and earlier

(require 'enriched)

(defun enriched-decode-display-prop (start end &optional param)

(list start end))

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7emacs-1:24.3-20.el7_4Fixed 2017-09-19RHSA-2017:2771
Red Hat Enterprise Linux 5emacsWill not fix
Red Hat Enterprise Linux 6emacsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-14482.

References

Check your stackJSON