CVE-2024-39331

Summary

CVECVE-2024-39331
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-06-23 22:15:09 UTC
Updated2026-11-03 22:17:21 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 9.8 CRITICAL from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.013230000 probability, percentile 0.709440000 (date 2026-11-03)

Problem Types: CWE-94 | n/a | CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Emacs All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified
ADP Gnu Emacs affected 29.4 custom Not specified

References

ReferenceSourceLinkTags
git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS af854a3a-2127-422b-91ae-364da2661108 git.savannah.gnu.org Release Notes
git.savannah.gnu.org/cgit/emacs/org-mode.git/commit af854a3a-2127-422b-91ae-364da2661108 git.savannah.gnu.org Mailing List, Patch
lists.debian.org/debian-lts-announce/2024/06/msg00023.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List
news.ycombinator.com/item af854a3a-2127-422b-91ae-364da2661108 news.ycombinator.com Mailing List
www.openwall.com/lists/oss-security/2024/06/23/2 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
www.openwall.com/lists/oss-security/2024/06/23/1 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
lists.debian.org/debian-lts-announce/2024/06/msg00024.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List
list.orgmode.org/87sex5gdqc.fsf%40localhost af854a3a-2127-422b-91ae-364da2661108 list.orgmode.org Mailing List
lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html af854a3a-2127-422b-91ae-364da2661108 lists.gnu.org Mailing List
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report