{"id":"CVE-2024-39331","details":"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.","modified":"2026-03-23T04:59:40.741410357Z","published":"2024-06-23T22:15:09.370Z","related":["ALSA-2024:6510","ALSA-2024:6987","MGASA-2024-0276","SUSE-SU-2024:2293-1","SUSE-SU-2024:2297-1","SUSE-SU-2024:2567-1","openSUSE-SU-2024:14117-1","openSUSE-SU-2026:10228-1"],"references":[{"type":"ADVISORY","url":"https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29"},{"type":"FIX","url":"https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8"},{"type":"ARTICLE","url":"https://www.openwall.com/lists/oss-security/2024/06/23/2"},{"type":"ARTICLE","url":"https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html"},{"type":"ARTICLE","url":"https://news.ycombinator.com/item?id=40768225"},{"type":"ARTICLE","url":"https://www.openwall.com/lists/oss-security/2024/06/23/1"},{"type":"ARTICLE","url":"https://list.orgmode.org/87sex5gdqc.fsf%40localhost/"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"29.4"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39331.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}