CVEfocus › CVE database › CVE-2024-39331

CVE-2024-39331

CVSS 9.8 CriticalEPSS 1.3% (higher than 71% of CVEs)Published 2024-06-23Updated 2026-11-04Assigner: mitre

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.

CWE-94

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

29Fixed
16Fix pending
6Under investigation
14Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xemacs21Fix pendingUBUNTU-CVE-2024-39331
Ubuntu 26.10xemacs21-packagesFix pendingUBUNTU-CVE-2024-39331
Ubuntu 26.04org-modeNot affected
vulnerable_code_not_present
Ubuntu 26.04xemacs21Under investigationUBUNTU-CVE-2024-39331
Ubuntu 26.04xemacs21-packagesUnder investigationUBUNTU-CVE-2024-39331
Ubuntu 25.10emacsNot affected
vulnerable_code_not_present
Ubuntu 25.10org-modeNot affected
vulnerable_code_not_present
Ubuntu 25.10xemacs21Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-39331
Ubuntu 25.10xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-39331
Ubuntu 24.04emacsFix pending1:29.3+1-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 24.04org-modeFix pending9.6.10+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 24.04xemacs21Under investigationUBUNTU-CVE-2024-39331
Ubuntu 24.04xemacs21-packagesUnder investigationUBUNTU-CVE-2024-39331
Ubuntu 22.04emacsFixed1:27.1+1-3ubuntu5.2UBUNTU-CVE-2024-39331
Ubuntu 22.04org-modeFix pending9.5.2+dfsh-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 22.04xemacs21Under investigationUBUNTU-CVE-2024-39331
Ubuntu 22.04xemacs21-packagesUnder investigationUBUNTU-CVE-2024-39331
Ubuntu 20.04emacsFix pending1:26.3+1-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 20.04org-modeFix pending9.3.1+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 20.04xemacs21Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-39331
Ubuntu 20.04xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-39331
Ubuntu 18.04emacs25Fix pending25.2+1-6ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 18.04org-modeFix pending9.1.6+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 18.04xemacs21Fix pendingUBUNTU-CVE-2024-39331
Ubuntu 18.04xemacs21-packagesFix pendingUBUNTU-CVE-2024-39331
Ubuntu 16.04emacs24Fix pending24.5+1-6ubuntu1.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 16.04org-modeFix pending8.3.3-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-39331
Ubuntu 16.04xemacs21Fix pendingUBUNTU-CVE-2024-39331
Ubuntu 16.04xemacs21-packagesFix pendingUBUNTU-CVE-2024-39331
Debian 14emacsFixed1:29.4+1-1DEBIAN-CVE-2024-39331
Debian 14org-modeFixed9.7.5+dfsg-1DEBIAN-CVE-2024-39331
Debian 13emacsFixed1:29.4+1-1DEBIAN-CVE-2024-39331
Debian 13org-modeFixed9.7.5+dfsg-1DEBIAN-CVE-2024-39331
Debian 12emacsFixed1:28.2+1-15+deb12u3DEBIAN-CVE-2024-39331
Debian 12org-modeFix pendingDEBIAN-CVE-2024-39331
Red Hat Enterprise Linux 10emacsNot affected
Red Hat Enterprise Linux 10emacs-commonNot affected
Red Hat Enterprise Linux 10emacs-filesystemNot affected
Red Hat Enterprise Linux 10emacs-lucidNot affected
Red Hat Enterprise Linux 10emacs-nwNot affected
Red Hat Enterprise Linux 9emacsFixed1:27.2-10.el9_4RHSA-2024:6510
Red Hat Enterprise Linux 9emacs-commonFixed1:27.2-10.el9_4RHSA-2024:6510
Red Hat Enterprise Linux 9emacs-filesystemFixed1:27.2-10.el9_4RHSA-2024:6510
Red Hat Enterprise Linux 9emacs-lucidFixed1:27.2-10.el9_4RHSA-2024:6510
Red Hat Enterprise Linux 9emacs-noxFixed1:27.2-10.el9_4RHSA-2024:6510
Red Hat Enterprise Linux 8emacsFixed1:26.1-12.el8_10RHSA-2024:6987
Red Hat Enterprise Linux 8emacs-commonFixed1:26.1-12.el8_10RHSA-2024:6987
Red Hat Enterprise Linux 8emacs-filesystemFixed1:26.1-12.el8_10RHSA-2024:6987
Red Hat Enterprise Linux 8emacs-lucidFixed1:26.1-12.el8_10RHSA-2024:6987
Red Hat Enterprise Linux 8emacs-noxFixed1:26.1-12.el8_10RHSA-2024:6987
Red Hat Enterprise Linux 8emacs-terminalFixed1:26.1-12.el8_10RHSA-2024:6987
Red Hat Enterprise Linux 7emacsWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-elWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-filesystemWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-noxWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-terminalWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacsWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-elWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-noxWill not fix
Out of support scope
AlmaLinux 9emacsFixed1:27.2-10.el9_4ALSA-2024:6510
AlmaLinux 9emacs-commonFixed1:27.2-10.el9_4ALSA-2024:6510
AlmaLinux 9emacs-filesystemFixed1:27.2-10.el9_4ALSA-2024:6510
AlmaLinux 9emacs-lucidFixed1:27.2-10.el9_4ALSA-2024:6510
AlmaLinux 9emacs-noxFixed1:27.2-10.el9_4ALSA-2024:6510
AlmaLinux 8emacsFixed1:26.1-12.el8_10ALSA-2024:6987
AlmaLinux 8emacs-commonFixed1:26.1-12.el8_10ALSA-2024:6987
AlmaLinux 8emacs-filesystemFixed1:26.1-12.el8_10ALSA-2024:6987
AlmaLinux 8emacs-lucidFixed1:26.1-12.el8_10ALSA-2024:6987
AlmaLinux 8emacs-noxFixed1:26.1-12.el8_10ALSA-2024:6987
AlmaLinux 8emacs-terminalFixed1:26.1-12.el8_10ALSA-2024:6987
Rocky Linux 8emacsFixed1:26.1-12.el8_10RLSA-2024:6987

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.