CVE-2024-39331
CRITICALEmacs < 29.4 - Remote Code Execution via Org Mode Link Abbreviation Expansion
Title source: llmDescription
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.
References (9)
Core 9
Core References
Mailing List, Patch
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8
Mailing List
https://list.orgmode.org/87sex5gdqc.fsf%40localhost/
Mailing List
https://news.ycombinator.com/item?id=40768225
Mailing List mailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html
Mailing List mailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html
Scores
CVSS v3
9.8
EPSS
0.0044
EPSS Percentile
63.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (1)
gnu/emacs
< 29.4
Published
Jun 23, 2024
Tracked Since
Feb 18, 2026