RCE in GNU Emacs
CVE-2024-39331
In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.013 (70.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 70.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
Weakness classification (CWE)
References
- git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS (Release Notes)
- list.orgmode.org/87sex5gdqc.fsf@localhost/ (Mailing List)
- lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html (Mailing List)
- git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/ (Patch, Mailing List)
- www.openwall.com/lists/oss-security/2024/06/23/1 (Mailing List)
- www.openwall.com/lists/oss-security/2024/06/23/2 (Mailing List)
- news.ycombinator.com/item (Mailing List)
- lists.debian.org/debian-lts-announce/2024/06/msg00023.html (mailing-list, Mailing List)
- lists.debian.org/debian-lts-announce/2024/06/msg00024.html (mailing-list, Mailing List)
Frequently asked questions
- What is CVE-2024-39331?
- CVE-2024-39331 is a critical-severity vulnerability in GNU Emacs, classified under Code Injection. CVSS score: 9.8/10. Published 2024-06-23.
- How severe is CVE-2024-39331?
- Critical severity. CVSS v3 base score is 9.8 out of 10.