CVEfocus › CVE database › CVE-2023-2491

CVE-2023-2491

CVSS 7.8 HighEPSS 0.6% (higher than 45% of CVEs)Published 2023-05-17Updated 2025-01-22Assigner: redhat

A flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the "org-babel-execute:latex" function in ob-latex.el can result in arbitrary command execution. This CVE exists because of a CVE-2023-28617 security regression for the emacs package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.

CWE-77

What to do

Fixed builds are available from AlmaLinux, Red Hat: 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

22Fixed
7Fix pending
16Not 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 22.04xemacs21Not affected
vulnerable_code_not_present
Ubuntu 22.04xemacs21-packagesNot affected
vulnerable_code_not_present
Ubuntu 20.04xemacs21Not affected
vulnerable_code_not_present
Ubuntu 20.04xemacs21-packagesNot affected
vulnerable_code_not_present
Ubuntu 18.04xemacs21Not affected
vulnerable_code_not_present
Ubuntu 18.04xemacs21-packagesNot affected
vulnerable_code_not_present
Ubuntu 16.04emacs24Fix pending
Ubuntu 16.04xemacs21Fix pending
Ubuntu 16.04xemacs21-packagesFix pending
Ubuntu 14.04emacs23Fix pending
Ubuntu 14.04emacs24Fix pending
Ubuntu 14.04xemacs21Fix pending
Ubuntu 14.04xemacs21-packagesFix pending
Red Hat Enterprise Linux 9emacsFixed1:27.2-8.el9_2.1RHSA-2023:2626
Red Hat Enterprise Linux 9emacs-commonFixed1:27.2-8.el9_2.1RHSA-2023:2626
Red Hat Enterprise Linux 9emacs-filesystemFixed1:27.2-8.el9_2.1RHSA-2023:2626
Red Hat Enterprise Linux 9emacs-lucidFixed1:27.2-8.el9_2.1RHSA-2023:2626
Red Hat Enterprise Linux 9emacs-noxFixed1:27.2-8.el9_2.1RHSA-2023:2626
Red Hat Enterprise Linux 8emacsFixed1:26.1-10.el8_8.2RHSA-2023:3104
Red Hat Enterprise Linux 8emacs-commonFixed1:26.1-10.el8_8.2RHSA-2023:3104
Red Hat Enterprise Linux 8emacs-filesystemFixed1:26.1-10.el8_8.2RHSA-2023:3104
Red Hat Enterprise Linux 8emacs-lucidFixed1:26.1-10.el8_8.2RHSA-2023:3104
Red Hat Enterprise Linux 8emacs-noxFixed1:26.1-10.el8_8.2RHSA-2023:3104
Red Hat Enterprise Linux 8emacs-terminalFixed1:26.1-10.el8_8.2RHSA-2023:3104
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-8.el9_2.1ALSA-2023:2626
AlmaLinux 9emacs-commonFixed1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux 9emacs-filesystemFixed1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux 9emacs-lucidFixed1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux 9emacs-noxFixed1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux 8emacsFixed1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux 8emacs-commonFixed1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux 8emacs-filesystemFixed1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux 8emacs-lucidFixed1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux 8emacs-noxFixed1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux 8emacs-terminalFixed1:26.1-10.el8_8.2ALSA-2023:3104

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.