CVEfocus › CVE database › CVE-2023-28617

CVE-2023-28617

CVSS 7.8 HighEPSS 0.6% (higher than 44% of CVEs)Published 2023-03-19Updated 2025-11-03Assigner: mitre

org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows attackers to execute arbitrary commands via a file name or directory name that contains shell metacharacters.

CWE-78

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.

Ubuntu has 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

31Fixed
5Fix pending
6Under investigation
15Will not fix
13Not 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-2023-28617
Ubuntu 26.10xemacs21-packagesFix pendingUBUNTU-CVE-2023-28617
Ubuntu 26.04org-modeNot affected
vulnerable_code_not_present
Ubuntu 26.04xemacs21Under investigationUBUNTU-CVE-2023-28617
Ubuntu 26.04xemacs21-packagesUnder investigationUBUNTU-CVE-2023-28617
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-2023-28617
Ubuntu 25.10xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28617
Ubuntu 24.04xemacs21Under investigationUBUNTU-CVE-2023-28617
Ubuntu 24.04xemacs21-packagesUnder investigationUBUNTU-CVE-2023-28617
Ubuntu 22.04emacsFixed1:27.1+1-3ubuntu5.2UBUNTU-CVE-2023-28617
Ubuntu 22.04org-modeFix pending9.5.2+dfsh-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-28617
Ubuntu 22.04xemacs21Under investigationUBUNTU-CVE-2023-28617
Ubuntu 22.04xemacs21-packagesUnder investigationUBUNTU-CVE-2023-28617
Ubuntu 20.04emacsFix pending1:26.3+1-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-28617
Ubuntu 20.04xemacs21Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28617
Ubuntu 20.04xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28617
Ubuntu 18.04emacs25Fix pending25.2+1-6ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-28617
Ubuntu 18.04xemacs21Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28617
Ubuntu 18.04xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28617
Ubuntu 16.04emacs24Will not fix
Ubuntu decided not to fix this in this release
24.5+1-6ubuntu1.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2023-28617
Ubuntu 16.04org-modeWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 16.04xemacs21Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28617
Ubuntu 16.04xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28617
Ubuntu 14.04emacs23Will not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04emacs24Will not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04org-modeWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04xemacs21Will not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
Debian 14emacsFixed1:28.2+1-14DEBIAN-CVE-2023-28617
Debian 14org-modeFixed9.5.2+dfsh-5DEBIAN-CVE-2023-28617
Debian 13emacsFixed1:28.2+1-14DEBIAN-CVE-2023-28617
Debian 13org-modeFixed9.5.2+dfsh-5DEBIAN-CVE-2023-28617
Debian 12emacsFixed1:28.2+1-14DEBIAN-CVE-2023-28617
Debian 12org-modeFixed9.5.2+dfsh-5DEBIAN-CVE-2023-28617
Red Hat Enterprise Linux 9emacsFixed1:27.2-6.el9_1.1RHSA-2023:2074
Red Hat Enterprise Linux 9emacs-commonFixed1:27.2-6.el9_1.1RHSA-2023:2074
Red Hat Enterprise Linux 9emacs-filesystemFixed1:27.2-6.el9_1.1RHSA-2023:2074
Red Hat Enterprise Linux 9emacs-lucidFixed1:27.2-6.el9_1.1RHSA-2023:2074
Red Hat Enterprise Linux 9emacs-noxFixed1:27.2-6.el9_1.1RHSA-2023:2074
Red Hat Enterprise Linux 8emacsFixed1:26.1-7.el8_7.1RHSA-2023:1930
Red Hat Enterprise Linux 8emacs-commonFixed1:26.1-7.el8_7.1RHSA-2023:1930
Red Hat Enterprise Linux 8emacs-filesystemFixed1:26.1-7.el8_7.1RHSA-2023:1930
Red Hat Enterprise Linux 8emacs-lucidFixed1:26.1-7.el8_7.1RHSA-2023:1930
Red Hat Enterprise Linux 8emacs-noxFixed1:26.1-7.el8_7.1RHSA-2023:1930
Red Hat Enterprise Linux 8emacs-terminalFixed1:26.1-7.el8_7.1RHSA-2023:1930
Red Hat Enterprise Linux 7emacsNot affected
Red Hat Enterprise Linux 7emacs-commonNot affected
Red Hat Enterprise Linux 7emacs-elNot affected
Red Hat Enterprise Linux 7emacs-filesystemNot affected
Red Hat Enterprise Linux 7emacs-noxNot affected
Red Hat Enterprise Linux 7emacs-terminalNot affected
Red Hat Enterprise Linux 6emacsNot affected
Red Hat Enterprise Linux 6emacs-commonNot affected
Red Hat Enterprise Linux 6emacs-elNot affected
Red Hat Enterprise Linux 6emacs-noxNot affected
AlmaLinux 9emacsFixed1:27.2-6.el9_1.1ALSA-2023:2626
AlmaLinux 9emacs-commonFixed1:27.2-8.el9_2.1ALSA-2023:2074
AlmaLinux 9emacs-filesystemFixed1:27.2-6.el9_1.1ALSA-2023:2626
AlmaLinux 9emacs-lucidFixed1:27.2-6.el9_1.1ALSA-2023:2626
AlmaLinux 9emacs-noxFixed1:27.2-6.el9_1.1ALSA-2023:2626
AlmaLinux 8emacsFixed1:26.1-10.el8_8.2ALSA-2023:1930
AlmaLinux 8emacs-commonFixed1:26.1-7.el8_7.1ALSA-2023:3104
AlmaLinux 8emacs-filesystemFixed1:26.1-7.el8_7.1ALSA-2023:3104
AlmaLinux 8emacs-lucidFixed1:26.1-10.el8_8.2ALSA-2023:1930
AlmaLinux 8emacs-noxFixed1:26.1-10.el8_8.2ALSA-2023:1930
AlmaLinux 8emacs-terminalFixed1:26.1-7.el8_7.1ALSA-2023:3104
Rocky Linux 9emacsFixed1:27.2-6.el9_1.1RLSA-2023:2074
Rocky Linux 8emacsFixed1:26.1-7.el8_7.1RLSA-2023:1930

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.