CVE-2024-39331

emacs: org-link-expand-abbrev: Do not evaluate arbitrary unsafe Elisp code

Published Jun 23, 2024 CVSS 3.1 · 9.8 Critical EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3848-1 org-mode security update
Debian DLA Debian DLA DLA-3849-1 org-mode security update
Debian DSA Debian DSA DSA-5718-1 org-mode security update
Debian DSA Debian DSA DSA-5719-1 emacs security update
Ubuntu USN Ubuntu USN USN-7027-1 Emacs vulnerabilities
Ubuntu USN Ubuntu USN USN-7375-1 Org Mode vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gnu:emacs:-:*:*:*:*:*:*:*
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gnu
Gnu emacs
CPEs cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu emacs
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat enterprise Linux
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:8.8
Vendors & Products Redhat rhel Eus
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 4, 2026, 12:02 AM
Reserved
Jun 23, 2024, 12:00 AM
Status
Analyzed
Published
Jun 23, 2024, 10:15 PM
Modified
Nov 3, 2026, 10:17 PM
Severity
Moderate
Public date
Jun 23, 2024, 12:00 AM