CVE-2024-39331: GNU Emacs

Critical severity, CVSS 9.8. EPSS: 1.3% chance of exploitation in the next 30 days.

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.

Affected products

  • GNU Emacs: before 29.4 (fixed in 29.4)

Published 2024-06-23. Last modified 2026-06-17.