← Back to CVEs
CVE-2024-39331
CRITICAL9.8
Description
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published6/23/2024
Last Modified4/30/2025
Sourcenvd
Honeypot Sightings0
Affected Products
gnu:emacs
Weaknesses (CWE)
CWE-94
References
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8(cve@mitre.org)
https://list.orgmode.org/87sex5gdqc.fsf%40localhost/(cve@mitre.org)
https://news.ycombinator.com/item?id=40768225(cve@mitre.org)
https://www.openwall.com/lists/oss-security/2024/06/23/1(cve@mitre.org)
https://www.openwall.com/lists/oss-security/2024/06/23/2(cve@mitre.org)
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29(af854a3a-2127-422b-91ae-364da2661108)
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8(af854a3a-2127-422b-91ae-364da2661108)
https://list.orgmode.org/87sex5gdqc.fsf%40localhost/(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html(af854a3a-2127-422b-91ae-364da2661108)
https://news.ycombinator.com/item?id=40768225(af854a3a-2127-422b-91ae-364da2661108)
https://www.openwall.com/lists/oss-security/2024/06/23/1(af854a3a-2127-422b-91ae-364da2661108)
https://www.openwall.com/lists/oss-security/2024/06/23/2(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.