emacs: command injection flaw within "enriched mode" handling
Published Sep 14, 2017
8.8
HIGHCVSS 3.0
EPSS 4.01%
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).
Affected products
No data.
Configuration 2
- 8.0
No data.
Red Hat Enterprise Linux 7
emacs-1:24.3-20.el7_4
Fixed · RHSA-2017:2771
Red Hat Enterprise Linux 5
emacs
Will not fix
Red Hat Enterprise Linux 6
emacs
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | emacs-1:24.3-20.el7_4 | Fixed | RHSA-2017:2771 |
| Red Hat Enterprise Linux 5 | emacs | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | emacs | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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))
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.01% (0.04009) | 90.23th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.04% (0.04042) | 89.26th | v5 (v2026.06.15) |
| May 18, 2026 | 3.60% (0.03601) | 87.90th | v4 (v2025.03.14) |
| Feb 19, 2026 | 4.70% (0.04703) | 89.13th | v4 (v2025.03.14) |
| Feb 18, 2026 | 3.43% (0.03427) | 87.19th | v4 (v2025.03.14) |
| Jul 12, 2025 | 4.95% (0.04948) | 89.19th | v4 (v2025.03.14) |
| Mar 28, 2025 | 1.99% (0.01995) | 82.03th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.89% (0.00893) | 73.94th | v4 (v2025.03.14) |
| Jul 20, 2024 | 3.13% (0.03127) | 91.20th | v3 (v2023.03.01) |
| Aug 25, 2023 | 3.13% (0.03127) | 89.82th | v3 (v2023.03.01) |
| May 8, 2023 | 2.02% (0.02025) | 87.19th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.33% (0.03334) | 89.84th | v3 (v2023.03.01) |
| Mar 6, 2023 | 6.32% (0.06320) | 90.90th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.16% (0.06156) | 77.65th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.04% (0.04044) | 73.92th | v5 (v2026.06.15) |
| Apr 14, 2021 | 4.04% (0.04044) | 0.00th | v1 |
References (12)
- http://www.debian.org/security/2017/dsa-3975 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2017/09/11/1 x_refsource_CONFIRMMailing ListPatchThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2771 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-14482 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1490409 Issue Tracking
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28350 x_refsource_CONFIRMIssue TrackingMailing ListPatchVendor Advisory
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=9ad0fcc54442a9a01d41be19880250783426db70 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-14482
- https://security.gentoo.org/glsa/201801-07 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-14482
- https://www.debian.org/security/2017/dsa-3970 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.gnu.org/software/emacs/index.html#Releases x_refsource_CONFIRMRelease NotesVendor Advisory
Change history (0)
No recorded changes yet.