Every CVE Search/ Get API key

CVE-2024-30204

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

2.8 LowFix available

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.47%Up 0.4 points since Mar 26, 2024
90%50%10%1%

What each source reports

CVE List Score used 2.8

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
CVE-2024-30204
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Weakness
CWE-276
Updated
2026-11-02
EUVDEUVD-2024-28136 2.8

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
EUVD-2024-28136
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-27fr-v43j-r34m 2.8

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
GHSA-27fr-v43j-r34m
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Weakness
CWE-276
Updated
2026-11-02
NVD 2.8

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
CVE-2024-30204
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Weakness
CWE-276
Updated
2026-11-02
OSV 2.8

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
CVE-2024-30204
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2024-30204 2.8

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
DEBIAN-CVE-2024-30204
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Updated
2026-11-02
Show 11 moreShow less
OSVOESA-2024-1390 5.0

emacs security update

Emacs is the extensible, customizable, self-documenting real-time display editor. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. And it is an entire ecosystem of functionality beyond text editing, including a project planner, mail and news reader, debugger interface, calendar, and more.

Security Fix(es):

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.(CVE-2024-30204)

In Emacs before 29.3, Org mode considers contents of remote files to be trusted. This affects Org Mode before 9.6.23.(CVE-2024-30205)

Record
OESA-2024-1390
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:9302 7.8

Red Hat Security Advisory: emacs security update

Record
RHSA-2024:9302
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-30204 2.8

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
UBUNTU-CVE-2024-30204
CVSS 3.1
2.8 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-37106 No score

CVE-2024-30204 affecting package emacs for versions less than 29.3

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Record
AZL-37106
Updated
2026-11-05
OSVCLSA-2025-1752750189 No score

emacs: Fix of CVE-2024-30204

  • CVE-2024-30204: disable LaTeX preview for e-mail attachments to protection when untrusted-content is non-nil
Record
CLSA-2025-1752750189
Updated
2026-11-02
OSVMGASA-2024-0104 No score

Updated emacs packages fix security vulnerabilities

In Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. This affects Org Mode before 9.6.23. (CVE-2024-30202) In Emacs before 29.3, Gnus treats inline MIME contents as trusted. (CVE-2024-30203) In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments. (CVE-2024-30204) In Emacs before 29.3, Org mode considers contents of remote files to be trusted. This affects Org Mode before 9.6.23. (CVE-2024-30205)

Record
MGASA-2024-0104
Updated
2026-11-02
OSVRLSA-2024:9302 No score

Moderate: emacs security update

GNU Emacs is a powerful, customizable, self-documenting text editor. It provides special code editing features, a scripting language (elisp), and the capability to read e-mail and news.

Security Fix(es):

  • emacs: Gnus treats inline MIME contents as trusted (CVE-2024-30203)

  • emacs: LaTeX preview is enabled by default for e-mail attachments (CVE-2024-30204)

  • emacs: Org mode considers contents of remote files to be trusted (CVE-2024-30205)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 9.5 Release Notes linked from the References section.

Record
RLSA-2024:9302
Updated
2026-11-02
OSVSUSE-SU-2024:1294-1 No score

Security update for emacs

This update for emacs fixes the following issues:

  • CVE-2024-30203: Fixed treating inline MIME contents as trusted (bsc#1222053)
  • CVE-2024-30204: Fixed LaTeX preview enabled by default for e-mail attachments (bsc#1222052)
  • CVE-2024-30205: Fixed Org mode considering contents of remote files as trusted (bsc#1222050)
Record
SUSE-SU-2024:1294-1
Updated
2026-11-02
OSVSUSE-SU-2024:1317-1 No score

Security update for emacs

This update for emacs fixes the following issues:

  • CVE-2024-30203: Fixed denial of service via MIME contents (bsc#1222053)
  • CVE-2024-30204: Fixed denial of service via LaTeX preview in e-mail attachments (bsc#1222052)
  • CVE-2024-30205: Fixed Org mode considering contents of remote files as trusted (bsc#1222050)
Record
SUSE-SU-2024:1317-1
Updated
2026-11-02
OSVSUSE-SU-2024:2297-1 No score

Security update for emacs

This update for emacs fixes the following issues:

  • CVE-2024-30203: Fixed denial of service via MIME contents (bsc#1222053).
  • CVE-2024-30204: Fixed denial of service via LaTeX preview in e-mail attachments (bsc#1222052).
  • CVE-2024-30204: Fixed Org mode considers contents of remote files to be trusted (bsc#1222050).
  • CVE-2024-39331: Fixed evaluation of arbitrary unsafe Elisp code in Org mode (bsc#1226957).
Record
SUSE-SU-2024:2297-1
Updated
2026-11-02
OSVUSN-7027-1 No score

emacs, emacs24, emacs25 vulnerabilities

It was discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-45939)

Xi Lu discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-48337)

Xi Lu discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-48338)

Xi Lu discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-48339)

It was discovered that Emacs incorrectly handled filename sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-28617)

It was discovered that Emacs incorrectly handled certain crafted files. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-30203, CVE-2024-30204, CVE-2024-30205)

It was discovered that Emacs incorrectly handled certain crafted files. An attacker could possibly use this issue to execute arbitrary commands. (CVE-2024-39331)

Record
USN-7027-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
emacs
Azure Linux:3
before 29.3
29.3
emacs
TuxCare:AlmaLinux:9.2
before 1:27.2-8.el9_2.1.tuxcare.els5
1:27.2-8.el9_2.1.tuxcare.els5
emacs-common
TuxCare:AlmaLinux:9.2
before 1:27.2-8.el9_2.1.tuxcare.els5
1:27.2-8.el9_2.1.tuxcare.els5
emacs-devel
TuxCare:AlmaLinux:9.2
before 1:27.2-8.el9_2.1.tuxcare.els5
1:27.2-8.el9_2.1.tuxcare.els5
emacs-filesystem
TuxCare:AlmaLinux:9.2
before 1:27.2-8.el9_2.1.tuxcare.els5
1:27.2-8.el9_2.1.tuxcare.els5
emacs-lucid
TuxCare:AlmaLinux:9.2
before 1:27.2-8.el9_2.1.tuxcare.els5
1:27.2-8.el9_2.1.tuxcare.els5
emacs-nox
TuxCare:AlmaLinux:9.2
before 1:27.2-8.el9_2.1.tuxcare.els5
1:27.2-8.el9_2.1.tuxcare.els5
emacs-terminal
TuxCare:AlmaLinux:9.2
before 1:27.2-8.el9_2.1.tuxcare.els5
1:27.2-8.el9_2.1.tuxcare.els5
emacs
Debian:12
before 1:28.2+1-15+deb12u1, plus listed versions
1:28.2+1-15
1:28.2+1-15+deb12u1
emacs
Debian:13
before 1:29.3+1-1
1:29.3+1-1
Show 61 moreShow less
Affected packages
PackageAffectedFixed
emacs
Debian:14
before 1:29.3+1-1
1:29.3+1-1
org-mode
Debian:12
All versions, plus listed versions
9.5.2+dfsh-59.6.10+dfsg-19.6.21+dfsg-19.6.23+dfsg-19.6.28+dfsg-1
Show 25 moreShow less
9.6.6+dfsg-1~exp19.6.7+dfsg-19.6.8+dfsg-19.6.9+dfsg-19.7.11+dfsg-19.7.13+dfsg-19.7.15+dfsg-19.7.16+dfsg-19.7.19+dfsg-19.7.25+dfsg-19.7.27+dfsg-19.7.29+dfsg-19.7.34+dfsg-19.7.36+dfsg-19.7.5+dfsg-19.7.6+dfsg-19.7.6+dfsg-29.8.10+dfsg-19.8.12+dfsg-19.8.2+dfsg-19.8.3+dfsg-19.8.4+dfsg-19.8.6+dfsg-19.8.7+dfsg-19.8.9+dfsg-1
None known
org-mode
Debian:13
before 9.6.23+dfsg-1
9.6.23+dfsg-1
org-mode
Debian:14
before 9.6.23+dfsg-1
9.6.23+dfsg-1
emacs
Debian:10
From an advisory covering 3 CVEs
before 1:26.1+1-3.2+deb10u5, plus listed versions
1:26.1+1-3.21:26.1+1-3.2+deb10u11:26.1+1-3.2+deb10u21:26.1+1-3.2+deb10u31:26.1+1-3.2+deb10u4
1:26.1+1-3.2+deb10u5
org-mode
Debian:10
From an advisory covering 3 CVEs
before 9.1.14+dfsg-3+deb10u2, plus listed versions
9.1.14+dfsg-39.1.14+dfsg-3+deb10u1
9.1.14+dfsg-3+deb10u2
emacs
Mageia:9
From an advisory covering 4 CVEs
before 28.2-10.1.mga9
28.2-10.1.mga9
emacs
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 27.1-13.oe1
27.1-13.oe1
emacs
openEuler:20.03-LTS-SP4
From an advisory covering 2 CVEs
before 27.1-13.oe2003sp4
27.1-13.oe2003sp4
emacs
openEuler:22.03-LTS
From an advisory covering 2 CVEs
before 27.2-13.oe2203sp3
27.2-13.oe2203sp3
emacs
openEuler:22.03-LTS-SP1
From an advisory covering 2 CVEs
before 27.2-13.oe2203sp1
27.2-13.oe2203sp1
emacs
openEuler:22.03-LTS-SP2
From an advisory covering 2 CVEs
before 27.2-13.oe2203sp2
27.2-13.oe2203sp2
emacs
openEuler:22.03-LTS-SP3
From an advisory covering 2 CVEs
before 27.2-13.oe2203sp3
27.2-13.oe2203sp3
emacs
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-common
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-common-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-filesystem
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-lucid
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-lucid-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-nox
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs-nox-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 3 CVEs
before 1:27.2-10.el9
1:27.2-10.el9
emacs
Rocky Linux:9
From an advisory covering 3 CVEs
before 1:27.2-10.el9_4
1:27.2-10.el9_4
emacs
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 3 CVEs
before 27.2-150400.3.11.1
27.2-150400.3.11.1
emacs
SUSE:Linux Enterprise Module for Desktop Applications 15 SP5
From an advisory covering 3 CVEs
before 27.2-150400.3.11.1
27.2-150400.3.11.1
emacs
openSUSE:Leap 15.5
From an advisory covering 3 CVEs
before 27.2-150400.3.11.1
27.2-150400.3.11.1
emacs
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 3 CVEs
before 24.3-25.17.1
24.3-25.17.1
emacs
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 3 CVEs
before 24.3-25.17.1
24.3-25.17.1
emacs
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
From an advisory covering 4 CVEs
before 25.3-150000.3.22.1
25.3-150000.3.22.1
emacs
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
From an advisory covering 4 CVEs
before 25.3-150000.3.22.1
25.3-150000.3.22.1
emacs
SUSE:Linux Enterprise Server 15 SP2-LTSS
From an advisory covering 4 CVEs
before 25.3-150000.3.22.1
25.3-150000.3.22.1
emacs
SUSE:Linux Enterprise Server 15 SP3-LTSS
From an advisory covering 4 CVEs
before 25.3-150000.3.22.1
25.3-150000.3.22.1
emacs
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
From an advisory covering 4 CVEs
before 25.3-150000.3.22.1
25.3-150000.3.22.1
emacs
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
From an advisory covering 4 CVEs
before 25.3-150000.3.22.1
25.3-150000.3.22.1
emacs
SUSE:Enterprise Storage 7.1
From an advisory covering 4 CVEs
before 25.3-150000.3.22.1
25.3-150000.3.22.1
emacs24
Ubuntu:Pro:16.04:LTS
before 24.5+1-6ubuntu1.1+esm4, plus listed versions
24.5+1-1ubuntu224.5+1-1ubuntu424.5+1-1ubuntu524.5+1-1ubuntu624.5+1-1ubuntu7
Show 5 moreShow less
24.5+1-6ubuntu124.5+1-6ubuntu1.124.5+1-6ubuntu1.1+esm124.5+1-6ubuntu1.1+esm224.5+1-6ubuntu1.1+esm3
24.5+1-6ubuntu1.1+esm4
xemacs21
Ubuntu:16.04:LTS
All versions, plus listed versions
21.4.22-4ubuntu321.4.22-14ubuntu1
None known
xemacs21-packages
Ubuntu:16.04:LTS
All versions, plus listed versions
2009.02.17.dfsg.2-2
None known
emacs25
Ubuntu:Pro:18.04:LTS
before 25.2+1-6ubuntu0.1~esm2, plus listed versions
25.2+1-6
25.2+1-6ubuntu0.1~esm2
xemacs21
Ubuntu:18.04:LTS
All versions, plus listed versions
21.4.24-4ubuntu121.4.24-5ubuntu1
None known
xemacs21-packages
Ubuntu:18.04:LTS
All versions, plus listed versions
2009.02.17.dfsg.2-4
None known
emacs
Ubuntu:Pro:20.04:LTS
before 1:26.3+1-1ubuntu2+esm1, plus listed versions
1:26.3+1-1ubuntu11:26.3+1-1ubuntu2
1:26.3+1-1ubuntu2+esm1
xemacs21
Ubuntu:20.04:LTS
All versions, plus listed versions
21.4.24-8build121.4.24-9
None known
xemacs21-packages
Ubuntu:20.04:LTS
All versions, plus listed versions
2009.02.17.dfsg.2-42009.02.17.dfsg.2-5
None known
emacs
Ubuntu:22.04:LTS
before 1:27.1+1-3ubuntu5.2, plus listed versions
1:27.1+1-3ubuntu31:27.1+1-3ubuntu51:27.1+1-3ubuntu5.1
1:27.1+1-3ubuntu5.2
xemacs21
Ubuntu:22.04:LTS
All versions, plus listed versions
21.4.24-9ubuntu2
None known
xemacs21-packages
Ubuntu:22.04:LTS
All versions, plus listed versions
2009.02.17.dfsg.2-5
None known
xemacs21
Ubuntu:24.04:LTS
All versions, plus listed versions
21.4.24-1221.4.24-12build221.4.24-12build3
None known
xemacs21-packages
Ubuntu:24.04:LTS
All versions, plus listed versions
2009.02.17.dfsg.3-22009.02.17.dfsg.3-3
None known
xemacs21
Ubuntu:25.10
All versions, plus listed versions
21.4.24-12build3
None known
xemacs21-packages
Ubuntu:25.10
All versions, plus listed versions
2009.02.17.dfsg.3-3
None known
xemacs21
Ubuntu:26.10
All versions, plus listed versions
21.4.24-12build3
None known
xemacs21-packages
Ubuntu:26.10
All versions, plus listed versions
2009.02.17.dfsg.3-3build1
None known
xemacs21
Ubuntu:26.04:LTS
All versions, plus listed versions
21.4.24-12build3
None known
xemacs21-packages
Ubuntu:26.04:LTS
All versions, plus listed versions
2009.02.17.dfsg.3-32009.02.17.dfsg.3-3build1
None known
emacs24
Ubuntu:Pro:16.04:LTS
From an advisory covering 9 CVEs
before 24.5+1-6ubuntu1.1+esm4, plus listed versions
24.5+1-1ubuntu224.5+1-1ubuntu424.5+1-1ubuntu524.5+1-1ubuntu624.5+1-1ubuntu7
Show 5 moreShow less
24.5+1-6ubuntu124.5+1-6ubuntu1.124.5+1-6ubuntu1.1+esm124.5+1-6ubuntu1.1+esm224.5+1-6ubuntu1.1+esm3
24.5+1-6ubuntu1.1+esm4
emacs25
Ubuntu:Pro:18.04:LTS
From an advisory covering 9 CVEs
before 25.2+1-6ubuntu0.1~esm2, plus listed versions
25.2+1-6
25.2+1-6ubuntu0.1~esm2
emacs
Ubuntu:Pro:20.04:LTS
From an advisory covering 9 CVEs
before 1:26.3+1-1ubuntu2+esm1, plus listed versions
1:26.3+1-1ubuntu11:26.3+1-1ubuntu2
1:26.3+1-1ubuntu2+esm1
emacs
Ubuntu:22.04:LTS
From an advisory covering 9 CVEs
before 1:27.1+1-3ubuntu5.2, plus listed versions
1:27.1+1-3ubuntu31:27.1+1-3ubuntu51:27.1+1-3ubuntu5.1
1:27.1+1-3ubuntu5.2
emacs
Ubuntu:Pro:24.04:LTS
From an advisory covering 9 CVEs
before 1:29.3+1-1ubuntu2+esm1, plus listed versions
1:29.1+1-5ubuntu11:29.2+1-1ubuntu11:29.2+1-2ubuntu41:29.3+1-1ubuntu2
1:29.3+1-1ubuntu2+esm1

History

History
RecordedChangedSources
affected
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-30204 is a low vulnerability (CVSS 2.8) in Gnu Emacs, published March 25, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.47%, the 41st percentile. Fixed in emacs 29.3.

References

Show 55 moreShow less
MoveEnter Open