cve.bz

CVE-2024-30202 gnu: Code Injection

7.8 highEPSS 1.1%Fix available

High (7.8) in gnu. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-30202 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-30202?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-30202?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-2024-30202 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:emacsbefore 29.3
gnu:org_modebefore 9.6.23

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12emacs1:28.2+1-15+deb12u1DEBIAN-CVE-2024-30202
Debian12org-modeno fix listedDEBIAN-CVE-2024-30202
Debian13, 14emacs1:29.3+1-1DEBIAN-CVE-2024-30202
Debian13, 14org-mode9.6.23+dfsg-1DEBIAN-CVE-2024-30202
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morexemacs21, xemacs21-packagesno fix listedUBUNTU-CVE-2024-30202
UbuntuPro:16.04:LTSemacs24no fix listedUBUNTU-CVE-2024-30202
UbuntuPro:16.04:LTSorg-mode8.3.3-2ubuntu0.1~esm1USN-7375-1
UbuntuPro:18.04:LTSemacs25no fix listedUBUNTU-CVE-2024-30202
UbuntuPro:18.04:LTSorg-mode9.1.6+dfsg-1ubuntu0.1~esm1USN-7375-1
UbuntuPro:20.04:LTSorg-mode9.3.1+dfsg-1ubuntu0.1~esm1USN-7375-1
UbuntuPro:22.04:LTSorg-mode9.5.2+dfsh-4ubuntu0.1~esm1UBUNTU-CVE-2024-30202 USN-7375-1
UbuntuPro:24.04:LTSorg-mode9.6.10+dfsg-1ubuntu0.1~esm1UBUNTU-CVE-2024-30202 USN-7375-1
Azure Linux2emacs29.3-1AZL-37082
Azure Linux3emacs29.3-1AZL-37105

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The Emacs package, as shipped in Red Hat Enterprise Linux 8 and 9, is not affected by this vulnerability because the vulnerable code was introduced in a newer version of Emacs.

To exploit this flaw, an attacker needs to trick a user into opening a crafted Org mode file. For this reason, this flaw has been rated with a Moderate security impact.

Red Hat's mitigation

Do not open Org mode files from untrusted sources.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10emacsAffected
Red Hat Enterprise Linux 6emacsOut of support scope
Red Hat Enterprise Linux 7emacsOut of support scope
Red Hat Enterprise Linux 8emacsNot affected
Red Hat Enterprise Linux 9emacsNot affected

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-2024-30202.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON