CVE-2024-39331

published 23 Jun 2024 · updated 4 Nov 2026

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.

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in emacs 29.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GNUemacs<29.429.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in GNU, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-39331 severity on Zeptric[![CVE-2024-39331](https://zeptric.io/badge/cve/CVE-2024-39331.svg)](https://zeptric.io/cve/CVE-2024-39331)